Commit 7ee035c
committed
bug #94 Add a custom retry strategy to retry 404 (Nyholm)
This PR was squashed before being merged into the master branch.
Discussion
----------
Add a custom retry strategy to retry 404
### Problem
Sometimes, we get a webhook request and then we trying to ask the Github api for that issue, but the API says 404.
### Acknowledgement
I know I do more service definitions than needed, but I didnt want to pull in FrameworkBundle:5.2
### Excuse
The changes in src/Issues/GitHub/GitHubStatusApi.php is just CS.. I started to read/think there before I ended up with the RetryStrategy solution
### Shout out
@jderusse, this is really awesome =)
Commits
-------
c04b622 Rebase fix
a4998fc Add a custom retry strategy to retry 404File tree
4 files changed
+43
-75
lines changed- config/packages
- src/Issues/GitHub
4 files changed
+43
-75
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 48 | + | |
53 | 49 | | |
54 | 50 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 51 | + | |
59 | 52 | | |
60 | 53 | | |
61 | | - | |
62 | 54 | | |
63 | 55 | | |
64 | 56 | | |
| |||
75 | 67 | | |
76 | 68 | | |
77 | 69 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 70 | + | |
84 | 71 | | |
85 | 72 | | |
86 | 73 | | |
87 | 74 | | |
88 | 75 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 76 | + | |
95 | 77 | | |
96 | 78 | | |
97 | 79 | | |
| |||
108 | 90 | | |
109 | 91 | | |
110 | 92 | | |
111 | | - | |
| 93 | + | |
112 | 94 | | |
113 | 95 | | |
114 | 96 | | |
| |||
0 commit comments