Commit f5d3677
pw_upload: wake up less frequently from inotify
The timeout parameter for inotify.read() is specified in
milliseconds, and therefore the thread is constantly waking
up just to see if it should terminate. Change it to only do
that every two seconds, as was (likely) intended.
Addresses #68.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>1 parent 754997d commit f5d3677
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
0 commit comments