diff --git a/env/.env.dev b/env/.env.dev index 59adbd9..a9b0717 100644 --- a/env/.env.dev +++ b/env/.env.dev @@ -1,6 +1,6 @@ ANCHOR_AUDIT_ENABLED=true ANCHOR_BATCH_LINGER=1h -ANCHOR_BATCH_SIZE=16383 +ANCHOR_BATCH_SIZE=8192 ANCHOR_BATCH_MONITOR_TICK=10s MAX_ANCHOR_WORKERS=5 LONG_QUEUE_VISIBILITY_TIMEOUT=2h diff --git a/env/.env.prod b/env/.env.prod index bde55a8..2a19394 100644 --- a/env/.env.prod +++ b/env/.env.prod @@ -1,6 +1,6 @@ ANCHOR_AUDIT_ENABLED=true ANCHOR_BATCH_LINGER=1h -ANCHOR_BATCH_SIZE=16383 +ANCHOR_BATCH_SIZE=8192 ANCHOR_BATCH_MONITOR_TICK=10s MAX_ANCHOR_WORKERS=5 LONG_QUEUE_VISIBILITY_TIMEOUT=2h diff --git a/env/.env.tnet b/env/.env.tnet index 315d695..eb83ba5 100644 --- a/env/.env.tnet +++ b/env/.env.tnet @@ -1,6 +1,6 @@ ANCHOR_AUDIT_ENABLED=true ANCHOR_BATCH_LINGER=1h -ANCHOR_BATCH_SIZE=16383 +ANCHOR_BATCH_SIZE=8192 ANCHOR_BATCH_MONITOR_TICK=10s MAX_ANCHOR_WORKERS=5 LONG_QUEUE_VISIBILITY_TIMEOUT=2h diff --git a/models/constants.go b/models/constants.go index f8748c4..a86657b 100644 --- a/models/constants.go +++ b/models/constants.go @@ -2,7 +2,7 @@ package models import "time" -const DefaultAnchorBatchSize = 16383 +const DefaultAnchorBatchSize = 8192 const DefaultAnchorBatchLinger = 1 * time.Hour const (