Commit 10000c4
committed
feat(afk.py): add detailed logging for AFK entries to aid in debugging
Add loguru logger to provide detailed debug information about AFK
entries in a guild. This includes total entries and specifics of each
entry, such as member ID, expiration status, and enforcement status.
This change helps in diagnosing issues related to AFK entries.
perf(afk.py): reduce AFK expiration check interval to 30 seconds
Decrease the interval for the AFK expiration handler from 120 seconds
to 30 seconds. This change ensures that expired AFK entries are
processed more frequently, improving the responsiveness of the system
to changes in AFK status.1 parent 1da6bf3 commit 10000c4
2 files changed
+20
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
279 | 281 | | |
280 | 282 | | |
281 | 283 | | |
282 | | - | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
283 | 298 | | |
284 | 299 | | |
285 | 300 | | |
286 | 301 | | |
287 | 302 | | |
288 | 303 | | |
289 | 304 | | |
| 305 | + | |
| 306 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
| 418 | + | |
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
477 | | - | |
| 477 | + | |
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
| |||
0 commit comments