Skip to content

Commit

Permalink
Update docs: mention server-side rate-limiting (also updated in Matej…
Browse files Browse the repository at this point in the history
… docs)
  • Loading branch information
foglcz committed Jul 24, 2018
1 parent c864f82 commit 4a7e31d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@ $response = $matej->request()
->send();
```

**This endpoint has rate-limiting implemented.** We constantly monitor workload on backend systems,
and when the number of events in the queue crosses certain threshold, Matej API will start returning `503` errors.
If that happens, you should resend the entire request later, as no commands were processed.

This has been implemented so that we don't lose any pushed data. Simple sleep of 100ms should be enough.

### Recommendations for single user

You can get recommendations for a single user using `recommendation()` builder.
Expand Down

0 comments on commit 4a7e31d

Please sign in to comment.