fix(mpc-service): reduce Kafka session timeout from 5min to 30s
This commit is contained in:
parent
c05722bbb3
commit
1eca8b3af8
|
|
@ -67,10 +67,10 @@ export class EventConsumerService implements OnModuleInit, OnModuleDestroy {
|
|||
|
||||
this.consumer = this.kafka.consumer({
|
||||
groupId,
|
||||
sessionTimeout: 300000, // 5 minutes - MPC keygen can take a while
|
||||
heartbeatInterval: 10000, // 10 seconds
|
||||
sessionTimeout: 30000, // 30 seconds - enough for normal operations
|
||||
heartbeatInterval: 3000, // 3 seconds
|
||||
maxWaitTimeInMs: 5000,
|
||||
rebalanceTimeout: 300000, // 5 minutes
|
||||
rebalanceTimeout: 60000, // 60 seconds - for MPC operations
|
||||
});
|
||||
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in New Issue