mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-23 06:32:34 +00:00
More env settings to tune down log noise
This commit is contained in:
1 parent
4fa95a928b
commit
20177860e0
3 files changed
+11
-9
No files matched your search
@@ -166,10 +166,11 @@ async function patchUserSettings(
|
||||
};
|
||||
}
|
||||
|
||||
console.log(
|
||||
`Updating user settings for user ${userId} with atomic=${atomic}:`,
|
||||
updatedSettings,
|
||||
);
|
||||
if ((process.env.LOG_PROTO_UPDATES || process.env.LOG_PROTO_SETTINGS_UPDATES) && process.env.LOG_PROTO_SETTINGS_UPDATES !== "false")
|
||||
console.log(
|
||||
`Updating user settings for user ${userId} with atomic=${atomic}:`,
|
||||
updatedSettings,
|
||||
);
|
||||
|
||||
if (!atomic) {
|
||||
settings = PreloadedUserSettings.fromJson(
|
||||
|
||||
@@ -168,10 +168,11 @@ async function patchUserSettings(
|
||||
};
|
||||
}
|
||||
|
||||
console.log(
|
||||
`Updating frecency settings for user ${userId} with atomic=${atomic}:`,
|
||||
updatedSettings,
|
||||
);
|
||||
if ((process.env.LOG_PROTO_UPDATES || process.env.LOG_PROTO_FRECENCY_UPDATES) && process.env.LOG_PROTO_FRECENCY_UPDATES !== "false")
|
||||
console.log(
|
||||
`Updating frecency settings for user ${userId} with atomic=${atomic}:`,
|
||||
updatedSettings,
|
||||
);
|
||||
|
||||
if (!atomic) {
|
||||
settings = FrecencyUserSettings.fromJson(
|
||||
|
||||
Reference in new issue
Block a user