From 4949ae22bb2fd1b81cdfbbe21468015fb229b553 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Fri, 22 Oct 2021 17:15:40 -0600 Subject: Output available instances and fallback URL to redis Once a list of available URLs has been determined for a particular service, the list is written as "service -> [list of instances]" to a local redis connection. These can then be used in the greater routing logic to pick a random instance from the list, or use a fallback instance if none are determined to be available. --- instances.json | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 instances.json (limited to 'instances.json') diff --git a/instances.json b/instances.json deleted file mode 100644 index 081a890..0000000 --- a/instances.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "instance_type": "reddit", - "instance_test": "/r/popular", - "instance_list": [ - "https://libredd.it", - "https://libreddit.spike.codes" - ] - }, - { - "instance_type": "instagram", - "instance_test": "/taylorswift", - "instance_list": [ - "https://bibliogram.art/u", - "https://bibliogram.snopyta.org/u" - ] - } -] -- cgit v1.2.3