Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Jun 7, 2019
1 parent c98da48 commit d06f79a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/UPDATES.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Update handling can be done in different ways:

When running the `loop()` method via web, MadelineProto will automatically enable a **magical self-restart hack**, to keep the bot running even on webhosts with limited execution time.

Locking will also be handled automatically, so even if you start the script via web several times, only one instance will be running at a time (no need to do flocking manually!).
Locking will also be handled automatically (as well as disconnection from the user that opened the page), so even if you start the script via web several times, only one instance will be running at a time (no need to do flocking manually!).

It relies on the shutdown function, so you must not set a custom shutdown function in your code, and instead use the **MadelineProto shutdown static API**:

Expand Down Expand Up @@ -288,4 +288,4 @@ You can use the `resetUpdateState` method to reset the update state and fetch al
$MadelineProto->resetUpdateState();
```

<a href="https://docs.madelineproto.xyz/docs/SETTINGS.html">Next section</a>
<a href="https://docs.madelineproto.xyz/docs/SETTINGS.html">Next section</a>

0 comments on commit d06f79a

Please sign in to comment.