Scifabric / pybossa

PYBOSSA is the ultimate crowdsourcing framework (aka microtasking) to analyze or enrich data that can't be processed by machines alone.
http://pybossa.com
GNU Affero General Public License v3.0
745 stars 269 forks source link

feat: support for no sentinel setup #1987

Closed jokruger closed 4 years ago

jokruger commented 4 years ago

In case of GCP or AWS managed redis services there will be no sentinel (HA is handled by GCP/AWS). So, need a way to setup pybossa to use redis without sentinel.

With this fix you can set REDIS_SENTINEL setting from settings_local.py to None and set REDIS_HOST and REDIS_PORT instead. In this case pybossa will use redis directly.

In case of REDIS_SENTINEL provided, sentinel will be used.

teleyinex commented 4 years ago

@jokruger the tests are passing, so we can merge but we would need an extra step to merge this new feature into PYBOSSA:

If you need help, let me know it.

teleyinex commented 4 years ago

Please, reopen it when you have the docs part.

0x2b3bfa0 commented 3 years ago

🔔   @teleyinex, I'm also interested in this feature and documented it through https://github.com/Scifabric/docs.pybossa.com/pull/57. It would be really nice to have this merged if you deem it opprtune.

0x2b3bfa0 commented 2 years ago

Merged with https://github.com/Scifabric/pybossa/pull/2007