Skip to content

消息TTL ​

python
channel.queue_declare(
    queue='ttl_queue',
    arguments={'x-message-ttl': 60000}  # 60秒
)

用心记录每一步成长