forked from bitly/oauth2_proxy
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
watcher: ignore CHMOD, limit WaitForReplacement, longer sleep
fix "done" chan, only used by tests: the "break" just broke out of the select block, no the for loop could use a label, simplest fix is to just return simpler handling of CHMOD: just ignore it (if not also a rename or remove) limit WaitForReplacement to about 2 seconds (instead of waiting forever for file to re-appear) WaitForReplacement sleeps first before re-checking, for 100ms (longer) (makes travis-ci tests less flakey)
- Loading branch information
Showing
1 changed file
with
11 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters