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 Jun 20, 2018
1 parent 6d5781e commit b0a30e1
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 implemnted.** We constantly monitor workload on backend systems,
and when the # of events in the queue crosses certain treshold, 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 b0a30e1

Please sign in to comment.