mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-26 20:54:42 +01:00
Change stopsignal to SIGTERM
This commit is contained in:
parent
3aac336fd3
commit
7b81d81987
@ -885,7 +885,6 @@ abstract class AbstractMessage extends Update implements SimpleFilters
|
|||||||
return $this->getClient()->methodCallAsyncRead(
|
return $this->getClient()->methodCallAsyncRead(
|
||||||
'channels.readHistory',
|
'channels.readHistory',
|
||||||
[
|
[
|
||||||
'peer' => $this->chatId,
|
|
||||||
'channel' => $this->chatId,
|
'channel' => $this->chatId,
|
||||||
'max_id' => $readAll ? 0 : $this->id,
|
'max_id' => $readAll ? 0 : $this->id,
|
||||||
],
|
],
|
||||||
@ -895,7 +894,6 @@ abstract class AbstractMessage extends Update implements SimpleFilters
|
|||||||
'messages.readHistory',
|
'messages.readHistory',
|
||||||
[
|
[
|
||||||
'peer' => $this->chatId,
|
'peer' => $this->chatId,
|
||||||
'channel' => $this->chatId,
|
|
||||||
'max_id' => $readAll ? 0 : $this->id,
|
'max_id' => $readAll ? 0 : $this->id,
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
@ -25,6 +25,8 @@ ADD ./tests/jit.php /jit.php
|
|||||||
|
|
||||||
RUN php /jit.php && rm /jit.php
|
RUN php /jit.php && rm /jit.php
|
||||||
|
|
||||||
|
STOPSIGNAL SIGTERM
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
CMD ["php", "/app/bot.php"]
|
CMD ["php", "/app/bot.php"]
|
||||||
|
Loading…
Reference in New Issue
Block a user