summaryrefslogtreecommitdiff
path: root/ot_fullscrape.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-10-25 19:38:22 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-10-25 19:38:22 +0100
commitebe6f8085031dfa2640121b72c0a9e891d019eef (patch)
tree464038fe143c95a7b715099f12b43d9146a4179a /ot_fullscrape.c
parentb177df9272015941dcc293bf62d4ce7ee7b3140b (diff)
For workqueue tasks, class has to be in the tasktype or no worker will ever claim the task
Diffstat (limited to 'ot_fullscrape.c')
-rw-r--r--ot_fullscrape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_fullscrape.c b/ot_fullscrape.c
index 9dcbe68..eade79d 100644
--- a/ot_fullscrape.c
+++ b/ot_fullscrape.c
@@ -83,7 +83,7 @@ void fullscrape_deinit(void) {
83} 83}
84 84
85void fullscrape_deliver( int64_t sock, ot_tasktype tasktype ) { 85void fullscrape_deliver( int64_t sock, ot_tasktype tasktype ) {
86 mutex_workqueue_pushtask( sock, tasktype ); 86 mutex_workqueue_pushtask( sock, TASK_FULLSCRAPE | tasktype );
87} 87}
88 88
89static char * fullscrape_write_one( ot_tasktype mode, char *r, ot_torrent *torrent, ot_hash *hash ) { 89static char * fullscrape_write_one( ot_tasktype mode, char *r, ot_torrent *torrent, ot_hash *hash ) {