Skip to content

Friendly Remind #3

Description

@LYNCSS

Hello, I am doing the same project as yours, I discovered a little bug in OmniApi script.
In the repository, it showed that you want to separate OmniApi and Redis apart. The script config.py is fundamentally had to be replaced.

However, in the script cacher.py, it separated remote and local redis server. The Api scripts that imported cacher.py always used the localhost redis client operations. Hence, if you want api scripts connect to the redis server in the docker network, you have to change the code line:
l = rredis.StrictRedis() into
l = redis.StrictRedis(host=config.REDIS_HOST, port=config.REDIS_PORT, db=config.REDIS_DB)

It should work fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions