Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3536314
D4168.id13299.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
701 B
Referenced Files
None
Subscribers
None
D4168.id13299.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 26, 6:17 PM (12 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2704136
Default Alt Text
D4168.id13299.diff (701 B)
Attached To
Mode
D4168: [services] Tunnelbroker - Fix arguments table format for new amqp queue
Attached
Detach File
Event Timeline
Log In to Comment