Default values for MONITOR_INTERVAL
Default values for MONITOR_INTERVAL
This commit is contained in:
@ -360,6 +360,6 @@ MONITOR_SERVERS *ptr;
|
|||||||
monitorDatabase(ptr, handle->defaultUser, handle->defaultPasswd);
|
monitorDatabase(ptr, handle->defaultUser, handle->defaultPasswd);
|
||||||
ptr = ptr->next;
|
ptr = ptr->next;
|
||||||
}
|
}
|
||||||
thread_millisleep(10000);
|
thread_millisleep(MONITOR_INTERVAL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -27,8 +27,9 @@
|
|||||||
* @verbatim
|
* @verbatim
|
||||||
* Revision History
|
* Revision History
|
||||||
*
|
*
|
||||||
* Date Who Description
|
* Date Who Description
|
||||||
* 08/07/13 Mark Riddoch Initial implementation
|
* 08/07/13 Mark Riddoch Initial implementation
|
||||||
|
* 26/05/14 Massimiliano Pinto Default values for MONITOR_INTERVAL
|
||||||
*
|
*
|
||||||
* @endverbatim
|
* @endverbatim
|
||||||
*/
|
*/
|
||||||
@ -61,4 +62,6 @@ typedef struct {
|
|||||||
#define MONITOR_STOPPING 2
|
#define MONITOR_STOPPING 2
|
||||||
#define MONITOR_STOPPED 3
|
#define MONITOR_STOPPED 3
|
||||||
|
|
||||||
|
#define MONITOR_INTERVAL 10000 // in milliseconds
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user