File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -59,12 +59,12 @@ unix_socket_path : /tmp/redis.sock
5959```python
6060import asyncio
6161import uuid
62- from fd import FQ
62+ from fq import FQ
6363
6464
6565async def main():
6666 fq = FQ("config.conf")
67- await fq._initialize () # load config, connect to Redis, register Lua scripts
67+ await fq.initialize () # load config, connect to Redis, register Lua scripts
6868
6969 job_id = str(uuid.uuid4())
7070 await fq.enqueue(
@@ -99,8 +99,8 @@ Common operations:
9999
100100## Development
101101
102- - Start Redis for local development: ` make redis ` (binds to ` localhost:6380 ` ; matches ` tests/test.conf ` ).
103- - Run the suite: ` make test ` (requires the Redis instance above or another matching your config ).
102+ - Start Redis for local development: ` make redis-up ` (binds to ` localhost:6379 ` ; matches ` tests/test.conf ` ).
103+ - Run the suite: ` make test ` (automatically starts and tears down Redis ).
104104- Build a wheel: ` make build `
105105- Install/uninstall from the build: ` make install ` / ` make uninstall `
106106- Stop the dev Redis container: ` make redis-down `
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ services:
66 container_name : fq-redis
77 restart : unless-stopped
88 ports :
9- - " 6380 :6379"
9+ - " 6379 :6379"
1010 command : ["redis-server", "--appendonly", "no"]
1111 volumes :
1212 - redis-data:/data
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ conn_type : tcp_sock
1111;; unix connection settings
1212unix_socket_path : /tmp/redis.sock
1313;; tcp connection settings
14- port : 6380
14+ port : 6379
1515host : 127.0.0.1
1616clustered : false
1717password :
You can’t perform that action at this time.
0 commit comments