diff options
| author | 2023-02-02 05:21:16 +0100 | |
|---|---|---|
| committer | 2023-02-02 05:21:16 +0100 | |
| commit | 928f22fbbaec5d52836b217ec7a281b880b23f92 (patch) | |
| tree | 07990b389795025cbd184dfc79d8807ae96d9a5a /httpd.c | |
| parent | New function queue() (the global queue). (diff) | |
| download | snac2-928f22fbbaec5d52836b217ec7a281b880b23f92.tar.gz snac2-928f22fbbaec5d52836b217ec7a281b880b23f92.tar.xz snac2-928f22fbbaec5d52836b217ec7a281b880b23f92.zip | |
Email notifications have been moved to the global queue.
Diffstat (limited to 'httpd.c')
| -rw-r--r-- | httpd.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -280,6 +280,9 @@ static void *queue_thread(void *arg) | |||
| 280 | } | 280 | } |
| 281 | } | 281 | } |
| 282 | 282 | ||
| 283 | /* global queue */ | ||
| 284 | process_queue(); | ||
| 285 | |||
| 283 | /* time to purge? */ | 286 | /* time to purge? */ |
| 284 | if ((t = time(NULL)) > purge_time) { | 287 | if ((t = time(NULL)) > purge_time) { |
| 285 | pthread_t pth; | 288 | pthread_t pth; |