Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33299026
D3830.1768766093.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
701 B
Referenced Files
None
Subscribers
None
D3830.1768766093.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
@@ -37,8 +37,8 @@
});
AMQP::Table arguments;
- arguments["x-message-ttl"] = AMQP_MESSAGE_TTL;
- arguments["x-expires"] = AMQP_QUEUE_TTL;
+ arguments["x-message-ttl"] = std::to_string(AMQP_MESSAGE_TTL);
+ arguments["x-expires"] = std::to_string(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
Sun, Jan 18, 7:54 PM (18 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5952884
Default Alt Text
D3830.1768766093.diff (701 B)
Attached To
Mode
D3830: [services] Tunnelbroker - Fix warnings during the AmqpManager build
Attached
Detach File
Event Timeline
Log In to Comment