Commit 92197a9
committed
Refactor request handling in BranchRequestQueue to improve failure management
- Updated the processRequest method to handle request failures instead of re-queuing, enhancing error handling logic.
- Simplified the logic for requests waiting on processes to finish by invoking handleFailure, improving clarity and maintainability.
- Ensured all changes align with existing functionality while improving the robustness of request processing.1 parent c79a899 commit 92197a9
File tree
1 file changed
+3
-6
lines changed- Branch-SDK/src/main/java/io/branch/referral
1 file changed
+3
-6
lines changedLines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
136 | | - | |
| 134 | + | |
| 135 | + | |
137 | 136 | | |
138 | 137 | | |
139 | 138 | | |
| |||
144 | 143 | | |
145 | 144 | | |
146 | 145 | | |
147 | | - | |
148 | | - | |
149 | | - | |
| 146 | + | |
150 | 147 | | |
151 | 148 | | |
152 | 149 | | |
| |||
0 commit comments