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/fs/fs_api.c | |
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/fs/fs_api.c')
-rw-r--r-- | src/fs/fs_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/fs_api.c b/src/fs/fs_api.c index 293638732..2b1e51031 100644 --- a/src/fs/fs_api.c +++ b/src/fs/fs_api.c | |||
@@ -1356,7 +1356,8 @@ deserialize_publish_file (void *cls, const char *filename) | |||
1356 | GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == pc->upload_task); | 1356 | GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == pc->upload_task); |
1357 | pc->upload_task = | 1357 | pc->upload_task = |
1358 | GNUNET_SCHEDULER_add_with_priority | 1358 | GNUNET_SCHEDULER_add_with_priority |
1359 | (GNUNET_SCHEDULER_PRIORITY_BACKGROUND, &GNUNET_FS_publish_main_, pc); | 1359 | (GNUNET_SCHEDULER_PRIORITY_BACKGROUND, |
1360 | &GNUNET_FS_publish_main_, pc); | ||
1360 | } | 1361 | } |
1361 | if (GNUNET_OK != GNUNET_BIO_read_close (rh, &emsg)) | 1362 | if (GNUNET_OK != GNUNET_BIO_read_close (rh, &emsg)) |
1362 | { | 1363 | { |