Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Stepan Kiryakov <[email protected]>
  • Loading branch information
Stepan-Kirjakov committed Dec 23, 2024
1 parent 9d12b7a commit d454fe2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions indexer-worker-service/configs/.env.worker
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ MESSAGE_READ_DELAY="1000"
MESSAGE_READ_TIMEOUT="60000"
MESSAGE_JOB_REFRESH_TIME="60000"
MESSAGE_JOB_COUNT="5"
FILE_READ_DELAY="1000"
FILE_READ_DELAY="5000"
FILE_READ_TIMEOUT="60000"
FILE_JOB_REFRESH_TIME="60000"
FILE_JOB_COUNT="2"
FILE_JOB_COUNT="1"
IPFS_GATEWAY="http://127.0.0.1:8080/ipfs/${cid}"
IPFS_CHECK_GATEWAY="http://127.0.0.1:3333/check?cid=${cid}&timeoutSeconds=5"
4 changes: 2 additions & 2 deletions indexer-worker-service/configs/.env.worker.develop
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ MESSAGE_READ_DELAY="1000"
MESSAGE_READ_TIMEOUT="60000"
MESSAGE_JOB_REFRESH_TIME="60000"
MESSAGE_JOB_COUNT="5"
FILE_READ_DELAY="1000"
FILE_READ_DELAY="5000"
FILE_READ_TIMEOUT="60000"
FILE_JOB_REFRESH_TIME="60000"
FILE_JOB_COUNT="2"
FILE_JOB_COUNT="1"
IPFS_GATEWAY="http://127.0.0.1:8080/ipfs/${cid}"
IPFS_CHECK_GATEWAY="http://127.0.0.1:3333/check?cid=${cid}&timeoutSeconds=5"
4 changes: 2 additions & 2 deletions indexer-worker-service/configs/.env.worker.template
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ TOKEN_READ_DELAY="1000"
TOKEN_READ_TIMEOUT="60000"
TOKEN_JOB_REFRESH_TIME="60000"
TOKEN_JOB_COUNT="2"
FILE_READ_DELAY="1000"
FILE_READ_DELAY="5000"
FILE_READ_TIMEOUT="60000"
FILE_JOB_REFRESH_TIME="60000"
FILE_JOB_COUNT="2"
FILE_JOB_COUNT="1"
MESSAGE_READ_DELAY="1000"
MESSAGE_READ_TIMEOUT="60000"
MESSAGE_JOB_REFRESH_TIME="60000"
Expand Down
4 changes: 2 additions & 2 deletions indexer-worker-service/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ Promise.all([
TOKEN_READ_TIMEOUT: Utils.getIntParm(process.env.TOKEN__READ_TIMEOUT, 60000),
TOKEN_JOB_REFRESH_TIME: Utils.getIntParm(process.env.TOKEN__JOB_REFRESH_TIME, 60000),
TOKEN_JOB_COUNT: Utils.getIntParm(process.env.TOKEN__JOB_COUNT, 2),
FILE_READ_DELAY: Utils.getIntParm(process.env.TOKEN__READ_DELAY, 1000),
FILE_READ_DELAY: Utils.getIntParm(process.env.TOKEN__READ_DELAY, 5000),
FILE_READ_TIMEOUT: Utils.getIntParm(process.env.TOKEN__READ_TIMEOUT, 60000),
FILE_JOB_REFRESH_TIME: Utils.getIntParm(process.env.TOKEN__JOB_REFRESH_TIME, 60000),
FILE_JOB_COUNT: Utils.getIntParm(process.env.TOKEN__JOB_COUNT, 2),
FILE_JOB_COUNT: Utils.getIntParm(process.env.TOKEN__JOB_COUNT, 1),
}).start();

// await state.updateState(ApplicationStates.READY);
Expand Down

0 comments on commit d454fe2

Please sign in to comment.