diff options
| author | Ben Busby <contact@benbusby.com> | 2021-12-28 12:33:04 -0700 |
|---|---|---|
| committer | Ben Busby <contact@benbusby.com> | 2021-12-28 12:33:04 -0700 |
| commit | 1fb9051ae12be292519821623dc3eef0e3541c24 (patch) | |
| tree | 245f85efee95f50a87e3c35d58ac16ccdb991000 /README.md | |
| parent | 71febe3d3bcc7ac8bfc9eaf5c85414f6db29f0fe (diff) | |
| download | farside-1fb9051ae12be292519821623dc3eef0e3541c24.tar.gz | |
Broaden HTTPoison status code inspection
Rather than enforcing a 200 status code, the instance query is deemed a
success if the status code is <400. Various services return 200-399
status codes that don't necessarily indicate an error, but may have to
do with how the instance was configured.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -37,8 +37,9 @@ For example: The app runs with an internally scheduled cron task that queries all instances for services defined in [services.json](services.json) every 5 minutes. For each instance, as long as the instance takes <5 seconds to respond and returns -a 200 status code, the instance is added to a list of available instances for -that particular service. If not, it is discarded until the next update period. +a successful response code, the instance is added to a list of available +instances for that particular service. If not, it is discarded until the next +update period. Farside's routing is very minimal, with only the following routes: |
