Commit 9405cb6
committed
get-webhook-event-payload: be careful not to overshoot the date range
GitHub has a pretty low limit of how many events it retains. That means
we can easily overshoot if we are asking for an even that is a couple of
days old. Avoid ending the search prematurely in such instances.
Signed-off-by: Johannes Schindelin <[email protected]>1 parent 200552b commit 9405cb6
1 file changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
| 100 | + | |
100 | 101 | | |
101 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
102 | 112 | | |
103 | 113 | | |
104 | 114 | | |
| |||
0 commit comments