mirror of
https://github.com/wassname/ray.git
synced 2026-09-09 11:32:43 +08:00
Log fatal error if plasma manager or local scheduler heartbeats take too long. (#676)
* Log fatal error if plasma manager or local scheduler take too long to send heartbeat. * Fix linting. * Use int64_t for milliseconds since unix epoch.
This commit is contained in:
committed by
Philipp Moritz
parent
8317025987
commit
96962cdee0
@@ -232,4 +232,11 @@ bool DBClientID_equal(DBClientID first_id, DBClientID second_id);
|
||||
|
||||
extern const unsigned char NIL_DIGEST[DIGEST_SIZE];
|
||||
|
||||
/**
|
||||
* Return the current time in milliseconds since the Unix epoch.
|
||||
*
|
||||
* @return The number of milliseconds since the Unix epoch.
|
||||
*/
|
||||
int64_t current_time_ms();
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user