1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-28 21:26:46 +02:00

reduce system calls, increase time between message queue re-send attempts

This commit is contained in:
Jfreegman
2014-10-08 01:50:34 -04:00
parent 9f0daca5eb
commit cc0145d561
2 changed files with 10 additions and 10 deletions

View File

@ -127,7 +127,7 @@ void cqueue_remove(ToxWindow *self, Tox *m, uint32_t receipt)
}
}
#define CQUEUE_TRY_SEND_INTERVAL 10
#define CQUEUE_TRY_SEND_INTERVAL 60
/* Tries to send the oldest unsent message in queue. */
void cqueue_try_send(ToxWindow *self, Tox *m)