Page MenuHomePhabricator

D4168.diff
No OneTemporary

D4168.diff

diff --git a/services/tunnelbroker/src/Amqp/AmqpManager.cpp b/services/tunnelbroker/src/Amqp/AmqpManager.cpp
--- a/services/tunnelbroker/src/Amqp/AmqpManager.cpp
+++ b/services/tunnelbroker/src/Amqp/AmqpManager.cpp
@@ -40,8 +40,8 @@
});
AMQP::Table arguments;
- arguments["x-message-ttl"] = std::to_string(AMQP_MESSAGE_TTL);
- arguments["x-expires"] = std::to_string(AMQP_QUEUE_TTL);
+ arguments["x-message-ttl"] = AMQP_MESSAGE_TTL;
+ arguments["x-expires"] = AMQP_QUEUE_TTL;
this->amqpChannel->declareExchange(fanoutExchangeName, AMQP::fanout);
this->amqpChannel->declareQueue(tunnelbrokerID, AMQP::durable, arguments)
.onSuccess([this, tunnelbrokerID, fanoutExchangeName](

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 8, 10:50 PM (20 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2446661
Default Alt Text
D4168.diff (701 B)

Event Timeline