diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-01 21:12:17 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-01 21:12:17 +0000 |
commit | 64c442461b84953230d3dc4e78cb649db6c54abc (patch) | |
tree | 49ec875b32ce171aac2bbae1b5fcaad516a94cf6 /src/nse | |
parent | 0413c7690e087a0514447a87bc8118b2a244c902 (diff) | |
download | gnunet-64c442461b84953230d3dc4e78cb649db6c54abc.tar.gz gnunet-64c442461b84953230d3dc4e78cb649db6c54abc.zip |
changing scheduler priorities to revert to DEFAULT instead of inheriting parent-task priority unless something else is explicitly specified
Diffstat (limited to 'src/nse')
-rw-r--r-- | src/nse/gnunet-service-nse.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c index 30493851e..6617fdfea 100644 --- a/src/nse/gnunet-service-nse.c +++ b/src/nse/gnunet-service-nse.c | |||
@@ -911,7 +911,9 @@ find_proof (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
911 | my_proof = counter; | 911 | my_proof = counter; |
912 | } | 912 | } |
913 | proof_task = | 913 | proof_task = |
914 | GNUNET_SCHEDULER_add_delayed (proof_find_delay, &find_proof, NULL); | 914 | GNUNET_SCHEDULER_add_delayed_with_priority (proof_find_delay, |
915 | GNUNET_SCHEDULER_PRIORITY_IDLE, | ||
916 | &find_proof, NULL); | ||
915 | } | 917 | } |
916 | 918 | ||
917 | 919 | ||