@@ -17,7 +17,7 @@ from litestar import Litestar
1717
1818from litestar_saq import QueueConfig, SAQConfig, SAQPlugin
1919
20- saq = SAQPlugin(config = SAQConfig(dsn = " redis://localhost:6397 /0" , queue_configs = [QueueConfig(name = " samples" )]))
20+ saq = SAQPlugin(config = SAQConfig(dsn = " redis://localhost:6379 /0" , queue_configs = [QueueConfig(name = " samples" )]))
2121app = Litestar(plugins = [saq])
2222
2323
@@ -29,7 +29,7 @@ You can start a background worker with the following command now:
2929litestar --app-dir=examples/ --app basic:app workers run
3030Using Litestar app from env: ' basic:app'
3131Starting SAQ Workers ──────────────────────────────────────────────────────────────────
32- INFO - 2023-10-04 17:39:03,255 - saq - worker - Worker starting: Queue< redis=Redis< ConnectionPool< Connection< host=localhost,port=6397 ,db=0>>>, name=' samples' >
32+ INFO - 2023-10-04 17:39:03,255 - saq - worker - Worker starting: Queue< redis=Redis< ConnectionPool< Connection< host=localhost,port=6379 ,db=0>>>, name=' samples' >
3333INFO - 2023-10-04 17:39:06,545 - saq - worker - Worker shutting down
3434```
3535
@@ -39,7 +39,7 @@ You can also start the process for only specific queues. This is helpful if you
3939litestar --app-dir=examples/ --app basic:app workers run --queues sample
4040Using Litestar app from env: ' basic:app'
4141Starting SAQ Workers ──────────────────────────────────────────────────────────────────
42- INFO - 2023-10-04 17:39:03,255 - saq - worker - Worker starting: Queue< redis=Redis< ConnectionPool< Connection< host=localhost,port=6397 ,db=0>>>, name=' samples' >
42+ INFO - 2023-10-04 17:39:03,255 - saq - worker - Worker starting: Queue< redis=Redis< ConnectionPool< Connection< host=localhost,port=6379 ,db=0>>>, name=' samples' >
4343INFO - 2023-10-04 17:39:06,545 - saq - worker - Worker shutting down
4444```
4545
0 commit comments