mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
Turn a NOTICE into a DEBUG message.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@110614 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -955,8 +955,8 @@ static int __schedule_action(void (*func)(const void *data), const void *data, c
|
||||
return 0;
|
||||
}
|
||||
time(&t);
|
||||
if (t != lasterror)
|
||||
ast_log(LOG_NOTICE, "Out of idle IAX2 threads for scheduling!\n");
|
||||
if (t != lasterror && option_debug)
|
||||
ast_log(LOG_DEBUG, "Out of idle IAX2 threads for scheduling!\n");
|
||||
lasterror = t;
|
||||
|
||||
return -1;
|
||||
@@ -6698,8 +6698,8 @@ static int socket_read(int *id, int fd, short events, void *cbdata)
|
||||
|
||||
if (!(thread = find_idle_thread())) {
|
||||
time(&t);
|
||||
if (t != last_errtime)
|
||||
ast_log(LOG_NOTICE, "Out of idle IAX2 threads for I/O, pausing!\n");
|
||||
if (t != last_errtime && option_debug)
|
||||
ast_log(LOG_DEBUG, "Out of idle IAX2 threads for I/O, pausing!\n");
|
||||
last_errtime = t;
|
||||
usleep(1);
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user