mirror of
https://github.com/fluencelabs/redis
synced 2025-04-27 11:32:13 +00:00
Clarify change in #6662.
This commit is contained in:
parent
aa3f13761f
commit
901b7469b9
@ -2266,12 +2266,15 @@ void createSharedObjects(void) {
|
|||||||
void initServerConfig(void) {
|
void initServerConfig(void) {
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
server.hz = CONFIG_DEFAULT_HZ;
|
|
||||||
updateCachedTime(1);
|
updateCachedTime(1);
|
||||||
getRandomHexChars(server.runid,CONFIG_RUN_ID_SIZE);
|
getRandomHexChars(server.runid,CONFIG_RUN_ID_SIZE);
|
||||||
server.runid[CONFIG_RUN_ID_SIZE] = '\0';
|
server.runid[CONFIG_RUN_ID_SIZE] = '\0';
|
||||||
changeReplicationId();
|
changeReplicationId();
|
||||||
clearReplicationId2();
|
clearReplicationId2();
|
||||||
|
server.hz = CONFIG_DEFAULT_HZ; /* Initialize it ASAP, even if it may get
|
||||||
|
updated later after loading the config.
|
||||||
|
This value may be used before the server
|
||||||
|
is initialized. */
|
||||||
server.timezone = getTimeZone(); /* Initialized by tzset(). */
|
server.timezone = getTimeZone(); /* Initialized by tzset(). */
|
||||||
server.configfile = NULL;
|
server.configfile = NULL;
|
||||||
server.executable = NULL;
|
server.executable = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user