Skip to content

Commit

Permalink
Merge pull request #32 from blackflux/dev
Browse files Browse the repository at this point in the history
[Gally]: master <- dev
  • Loading branch information
simlu committed Oct 12, 2021
2 parents cd1ffba + 2097945 commit 92bd06f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/module/hub.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,15 @@ module.exports = (config_) => {

return {
start: () => {
const timeout = 400;
const discovery = client.startDiscovery({
client.startDiscovery({
broadcast: '192.168.0.255',
port: 56888,
breakoutChildren: true,
discoveryInterval: 10000,
discoveryTimeout: 0,
offlineTolerance: 3,
deviceOptions: { defaultSendOptions: { timeout } },
...config.discoveryConfig
});
discovery.defaultSendOptions.timeout = timeout;
},
stop: () => {
[...client.devices.values()].forEach((d) => {
Expand Down

0 comments on commit 92bd06f

Please sign in to comment.