Skip to content

Commit

Permalink
[backend] Change to 30 sec scheduling
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-julien committed Oct 8, 2024
1 parent 5c2281e commit 421d11c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion opencti-platform/opencti-graphql/config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
"ingestion_manager": {
"enabled": true,
"lock_key": "ingestion_manager_lock",
"interval": 300000
"interval": 30000
},
"retention_manager": {
"enabled": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import { connectorIdFromIngestId, queueDetails } from '../domain/connector';
// Ingestion manager responsible to cleanup old data
// Each API will start is ingestion manager.
// If the lock is free, every API as the right to take it.
const SCHEDULE_TIME = conf.get('ingestion_manager:interval') || 60000;
const SCHEDULE_TIME = conf.get('ingestion_manager:interval') || 30000;
const INGESTION_MANAGER_KEY = conf.get('ingestion_manager:lock_key') || 'ingestion_manager_lock';

let running = false;
Expand Down

0 comments on commit 421d11c

Please sign in to comment.