-
-
Notifications
You must be signed in to change notification settings - Fork 250
support more then 34 devices #601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
support more then 34 devices #601
Conversation
| case entry := <-deviceEntryChan: | ||
| deviceList.DeviceList = append(deviceList.DeviceList, entry) | ||
| case <-time.After(100 * time.Millisecond): | ||
| return deviceList, nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is 100ms the only way to know we have reached the last device? such absolute timing can be random when dealing with services. what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
em.. do you have some better way?
| } | ||
| }() | ||
| var deviceList = DeviceList{ | ||
| DeviceList: make([]DeviceEntry, 0, 40), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why was 34 a limit? and why put 40 as the new limit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In most conditions, phone number is bellow 40 (from my experience).
|
@codeskyblue is this the same limitation on linux, osx and windows (i care mostly about the first 2) |
No description provided.