Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions stdbus/bus.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package stdbus

import (
"sync"
"os"
"strconv"

"github.com/CyCoreSystems/ari/v6"
)
Expand All @@ -27,6 +29,11 @@ func New() ari.Bus {
subs: []*subscription{},
}

if os.Getenv("BUS_BUFFERSIZE") != "" {
size := os.Getenv("BUS_BUFFERSIZE")
subscriptionEventBufferSize, _ = strconv.Atoi(size)
Comment thread
virgilio-a-cunha marked this conversation as resolved.
Outdated
}

return b
}

Expand Down