Skip to content

Commit

Permalink
[backend] Remove console logs (#7943)
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-julien committed Aug 22, 2024
1 parent 812b0de commit 476147f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion opencti-platform/opencti-graphql/src/database/redis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ const keysFromList = async (listId: string, expirationTime?: number) => {
const key = partInstances[index];
tx.get(key).ttl(key);
if (new Date().getTime() - startProcessingTime > MAX_EVENT_LOOP_PROCESSING_TIME) {
console.log('event loop control sessions');
startProcessingTime = new Date().getTime();
await new Promise((resolve) => {
setImmediate(resolve);
Expand Down
1 change: 0 additions & 1 deletion opencti-platform/opencti-graphql/src/database/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ export const findSessions = async () => {
preparedSessions[currentUserId] = { sessions: [data], total: 1 };
}
if (new Date().getTime() - startProcessingTime > MAX_EVENT_LOOP_PROCESSING_TIME) {
console.log('event loop control findSessions');
startProcessingTime = new Date().getTime();
await new Promise((resolve) => {
setImmediate(resolve);
Expand Down

0 comments on commit 476147f

Please sign in to comment.