Skip to content

Commit 6247b3a

Browse files
committed
Double DEFAULT_LOOP_DELAY
Summary: Increasing the loop dealy will reduce the amount of github tokens used, reducing the frequency of the "rate limit" alert: https://www.internalfb.com/monitoring/detector/882356850031190 Reviewed By: anakryiko Differential Revision: D74443236 fbshipit-source-id: ebb08ded0c751e7579b89f0d2414a7676afa2b45
1 parent 0c405aa commit 6247b3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel_patches_daemon/daemon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
success_counter: Counter = meter.create_counter(name="runs.success")
2525
fail_counter: Counter = meter.create_counter(name="runs.failed")
2626

27-
DEFAULT_LOOP_DELAY: Final[int] = 60
27+
DEFAULT_LOOP_DELAY: Final[int] = 120
2828
DEFAULT_MAX_CONCURRENT_RESTARTS: Final[int] = 5
2929

3030

0 commit comments

Comments
 (0)