From 997932f1eb8b9938cb3f5b4ae4495267efd80aed Mon Sep 17 00:00:00 2001 From: Nicolas Favre-Felix Date: Fri, 25 Aug 2023 08:41:55 -0700 Subject: [PATCH] Reformat JSON config files, use spaces instead of tabs This should have been done long ago. --- webdis.json | 49 ++++++++++++++++++++++++------------------------ webdis.prod.json | 44 +++++++++++++++++++++---------------------- 2 files changed, 46 insertions(+), 47 deletions(-) diff --git a/webdis.json b/webdis.json index f9c76d1..923c3b9 100644 --- a/webdis.json +++ b/webdis.json @@ -1,34 +1,33 @@ { - "redis_host": "127.0.0.1", + "redis_host": "127.0.0.1", + "redis_port": 6379, + "redis_auth": null, - "redis_port": 6379, - "redis_auth": null, + "http_host": "0.0.0.0", + "http_port": 7379, - "http_host": "0.0.0.0", - "http_port": 7379, + "threads": 5, + "pool_size": 20, - "threads": 5, - "pool_size": 20, + "daemonize": false, + "websockets": false, - "daemonize": false, - "websockets": false, + "database": 0, - "database": 0, + "acl": [ + { + "disabled": [ "DEBUG" ] + }, + { + "http_basic_auth": "user:password", + "enabled": [ "DEBUG" ] + } + ], - "acl": [ - { - "disabled": ["DEBUG"] - }, + "hiredis": { + "keep_alive_sec": 15 + }, - { - "http_basic_auth": "user:password", - "enabled": ["DEBUG"] - } - ], - "hiredis": { - "keep_alive_sec": 15 - }, - - "verbosity": 4, - "logfile": "webdis.log" + "verbosity": 4, + "logfile": "webdis.log" } diff --git a/webdis.prod.json b/webdis.prod.json index 7731ef3..044d887 100644 --- a/webdis.prod.json +++ b/webdis.prod.json @@ -1,31 +1,31 @@ { - "redis_host": "127.0.0.1", + "redis_host": "127.0.0.1", + "redis_port": 6379, + "redis_auth": null, - "redis_port": 6379, - "redis_auth": null, + "http_host": "0.0.0.0", + "http_port": 7379, - "http_host": "0.0.0.0", - "http_port": 7379, - "threads": 4, + "threads": 4, - "daemonize": true, + "daemonize": true, - "database": 0, + "database": 0, - "acl": [ - { - "disabled": ["DEBUG"] - }, + "acl": [ + { + "disabled": [ "DEBUG" ] + }, + { + "http_basic_auth": "user:password", + "enabled": [ "DEBUG" ] + } + ], - { - "http_basic_auth": "user:password", - "enabled": ["DEBUG"] - } - ], - "hiredis": { - "keep_alive_sec": 15 - }, + "hiredis": { + "keep_alive_sec": 15 + }, - "verbosity": 3, - "logfile": "/var/log/webdis.log" + "verbosity": 3, + "logfile": "/var/log/webdis.log" }