mirror of
https://github.com/tropicoo/yt-dlp-bot.git
synced 2025-03-01 09:12:58 +08:00
Rename dockerfile
This commit is contained in:
parent
af6d2513de
commit
34eb93cc34
4 changed files with 8 additions and 3 deletions
|
@ -4,7 +4,7 @@ services:
|
|||
base-image:
|
||||
image: yt-base-image
|
||||
build:
|
||||
dockerfile: Dockerfile.base
|
||||
dockerfile: base.Dockerfile
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 0
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
[tool.black]
|
||||
line-length = 88
|
||||
skip-string-normalization = 1
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 88
|
||||
# Skip line length violations
|
||||
ignore = ["E501"]
|
||||
|
|
|
@ -48,8 +48,8 @@ class RabbitMQ:
|
|||
queue = await self.channel.declare_queue(**queue_data)
|
||||
queue_name = queue_data['name']
|
||||
bindings = self._config['queue_bindings'][queue_name]
|
||||
for settings in bindings:
|
||||
await queue.bind(self.exchanges[settings['exchange_name']])
|
||||
for _settings in bindings:
|
||||
await queue.bind(self.exchanges[_settings['exchange_name']])
|
||||
self.queues[queue_name] = queue
|
||||
|
||||
async def close(self) -> None:
|
||||
|
|
Loading…
Reference in a new issue