update stauts service to use n of m status changes
This commit is contained in:
1 parent
74e80f086a
commit
d5778ec173
2 files changed
+46
-15
No files matched your search
@@ -3,7 +3,7 @@ const SERVICE_NAME = "BufferService";
|
||||
class BufferService {
|
||||
static SERVICE_NAME = SERVICE_NAME;
|
||||
constructor({ db, logger, envSettings }) {
|
||||
this.BUFFER_TIMEOUT = envSettings.nodeEnv === "development" ? 5000 : 1000 * 60 * 1; // 1 minute
|
||||
this.BUFFER_TIMEOUT = envSettings.nodeEnv === "development" ? 1000 : 1000 * 60 * 1; // 1 minute
|
||||
this.db = db;
|
||||
this.logger = logger;
|
||||
this.SERVICE_NAME = SERVICE_NAME;
|
||||
|
||||
Reference in new issue
Block a user