optimizate: pass the current timeout to the ID generator as a parameter, instead of getting the time from the ID generator itself

This commit is contained in:
luwenpeng
2024-07-16 17:13:32 +08:00
parent 07ce636f64
commit b50f0c2c70
21 changed files with 197 additions and 201 deletions

View File

@@ -113,7 +113,7 @@ enum session_stat
MAX_STAT,
};
// realtime in seconds
// realtime in milliseconds
enum session_timestamp
{
SESSION_TIMESTAMP_START,