Commit 01ac962
committed
Fix 50+ task creation with Discord bot enabled
Since we do not support batch importing tasks, the frontend spams the backend with a lot of task creations.
Due to throttling from Discord, it fails to create the extra Discord category for 50+ challenges.
This will break the channel creation.
So the fix for this without supporting batch import, is to import with batches from 10 where each first task is done in serial and the other 9 in parallel.1 parent f692065 commit 01ac962
File tree
2 files changed
+25
-6
lines changed- api/src/discord/agile
- front/src/components/Dialogs
2 files changed
+25
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
289 | 308 | | |
290 | 309 | | |
291 | 310 | | |
| |||
0 commit comments