aboutsummaryrefslogtreecommitdiff
path: root/src/chat
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2012-01-01 21:12:17 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2012-01-01 21:12:17 +0000
commit274e80524142e8152a5336b954fd9d7648baa712 (patch)
tree49ec875b32ce171aac2bbae1b5fcaad516a94cf6 /src/chat
parent9ae54e49949b22850459ea296e9ed6e59f4cf10b (diff)
changing scheduler priorities to revert to DEFAULT instead of inheriting parent-task priority unless something else is explicitly specified
git-svn-id: https://gnunet.org/svn/gnunet@18889 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/chat')
-rw-r--r--src/chat/gnunet-chat.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/chat/gnunet-chat.c b/src/chat/gnunet-chat.c
index af4eb53f30..4abc58c9f0 100644
--- a/src/chat/gnunet-chat.c
+++ b/src/chat/gnunet-chat.c
@@ -572,9 +572,10 @@ handle_command (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
next:
handle_cmd_task =
- GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply
- (GNUNET_TIME_UNIT_MILLISECONDS, 100),
- &handle_command, NULL);
+ GNUNET_SCHEDULER_add_delayed_with_priority (GNUNET_TIME_relative_multiply
+ (GNUNET_TIME_UNIT_MILLISECONDS, 100),
+ GNUNET_SCHEDULER_PRIORITY_UI,
+ &handle_command, NULL);
return;
out: