Default values for MONITOR_INTERVAL

Default values for MONITOR_INTERVAL
This commit is contained in:
MassimilianoPinto 2014-05-26 14:15:51 +02:00
parent 60e06080ff
commit 0e510cfa4a
2 changed files with 6 additions and 3 deletions

View File

@ -360,6 +360,6 @@ MONITOR_SERVERS *ptr;
monitorDatabase(ptr, handle->defaultUser, handle->defaultPasswd);
ptr = ptr->next;
}
thread_millisleep(10000);
thread_millisleep(MONITOR_INTERVAL);
}
}

View File

@ -27,8 +27,9 @@
* @verbatim
* Revision History
*
* Date Who Description
* 08/07/13 Mark Riddoch Initial implementation
* Date Who Description
* 08/07/13 Mark Riddoch Initial implementation
* 26/05/14 Massimiliano Pinto Default values for MONITOR_INTERVAL
*
* @endverbatim
*/
@ -61,4 +62,6 @@ typedef struct {
#define MONITOR_STOPPING 2
#define MONITOR_STOPPED 3
#define MONITOR_INTERVAL 10000 // in milliseconds
#endif