File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class ServicePubQueueRabbit extends Component.mixin(AsyncEmitter) {
24
24
this . _channels = { } ;
25
25
this . _registry = { } ;
26
26
this . _namespace = config . default ( "service.rabbit.namespace" , "default" ) ;
27
- this . expireTime = this . config . default ( "service.rabbit.expireTime" , 1000 * 60 * 30 ) ; // 30 mins
27
+ this . expireTime = this . config . default ( "service.rabbit.expireTime" , 1000 * 60 * 60 * 24 ) ; // 1 day
28
28
29
29
this . servicePubQueue . on ( "triggerQueue" , this . publishEvent . bind ( this ) ) ;
30
30
this . amqp . on ( "connected" , ( ) => {
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class ServiceSubRabbit extends ServiceSubQueue {
22
22
this . _connection = null ;
23
23
this . _withExpire = true ;
24
24
this . _namespace = config . default ( "service.rabbit.namespace" , "default" ) ;
25
- this . expireTime = this . config . default ( "service.rabbit.expireTime" , 1000 * 60 * 30 ) ; // 30 mins
25
+ this . expireTime = this . config . default ( "service.rabbit.expireTime" , 1000 * 60 * 60 * 24 ) ; // 1 day
26
26
27
27
this . amqp . on ( "connected" , ( ) => {
28
28
this . init ( ) ;
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class ServiceSubRabbit extends ServiceSub {
21
21
22
22
this . maxAttempts = this . config . default ( "service.rabbit.maxAttempts" , 5 ) ;
23
23
this . retryDelay = this . config . default ( "service.rabbit.retryDelay" , 5000 ) ;
24
- this . expireTime = this . config . default ( "service.rabbit.expireTime" , 1000 * 60 * 30 ) ; // 30 mins
24
+ this . expireTime = this . config . default ( "service.rabbit.expireTime" , 1000 * 60 * 60 * 24 ) ; // 1 day
25
25
this . remainingAttempts = this . maxAttempts - 1 ;
26
26
27
27
this . _withExpire = true ;
You can’t perform that action at this time.
0 commit comments