File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -115,8 +115,8 @@ public function createConsumer(PsrDestination $destination)
115
115
116
116
$ consumer = new DbalConsumer ($ this , $ destination );
117
117
118
- if (isset ($ this ->config ['pollingInterval ' ])) {
119
- $ consumer ->setPollingInterval ($ this ->config ['pollingInterval ' ]);
118
+ if (isset ($ this ->config ['polling_interval ' ])) {
119
+ $ consumer ->setPollingInterval ($ this ->config ['polling_interval ' ]);
120
120
}
121
121
122
122
return $ consumer ;
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ public function testShouldCreateConsumer()
98
98
public function testShouldCreateMessageConsumerAndSetPollingInterval ()
99
99
{
100
100
$ context = new DbalContext ($ this ->createConnectionMock (), [
101
- 'pollingInterval ' => 123456 ,
101
+ 'polling_interval ' => 123456 ,
102
102
]);
103
103
104
104
$ consumer = $ context ->createConsumer (new DbalDestination ('' ));
You can’t perform that action at this time.
0 commit comments