File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public function reject(Envelope $envelope): void
6565 $ this ->connection ->reject ($ this ->findBeanstalkdReceivedStamp ($ envelope )->getId ());
6666 }
6767
68- public function keepalive (Envelope $ envelope ): void
68+ public function keepalive (Envelope $ envelope, ? int $ seconds = null ): void
6969 {
7070 $ this ->connection ->keepalive ($ this ->findBeanstalkdReceivedStamp ($ envelope )->getId ());
7171 }
Original file line number Diff line number Diff line change @@ -49,9 +49,9 @@ public function reject(Envelope $envelope): void
4949 $ this ->getReceiver ()->reject ($ envelope );
5050 }
5151
52- public function keepalive (Envelope $ envelope ): void
52+ public function keepalive (Envelope $ envelope, ? int $ seconds = null ): void
5353 {
54- $ this ->getReceiver ()->keepalive ($ envelope );
54+ $ this ->getReceiver ()->keepalive ($ envelope, $ seconds );
5555 }
5656
5757 public function getMessageCount (): int
You can’t perform that action at this time.
0 commit comments