File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
RabbitMQ.AMQP.Client/Impl Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ public IQueueSpecification OverflowStrategy(OverFlowStrategy overflow)
227227 public IQueueSpecification MaxLengthBytes ( ByteCapacity maxLengthBytes )
228228 {
229229 Utils . ValidatePositive ( "Max length" , maxLengthBytes ) ;
230- _queueArguments [ "x-max-length-bytes" ] = maxLengthBytes ;
230+ _queueArguments [ "x-max-length-bytes" ] = ( long ) maxLengthBytes ;
231231 return this ;
232232 }
233233
@@ -386,7 +386,7 @@ public IStreamSpecification MaxAge(TimeSpan maxAge)
386386 public IStreamSpecification MaxSegmentSizeBytes ( ByteCapacity maxSegmentSize )
387387 {
388388 Utils . ValidatePositive ( "x-stream-max-segment-size-bytes" , maxSegmentSize ) ;
389- _parent . _queueArguments [ "x-stream-max-segment-size-bytes" ] = maxSegmentSize ;
389+ _parent . _queueArguments [ "x-stream-max-segment-size-bytes" ] = ( long ) maxSegmentSize ;
390390 return this ;
391391 }
392392
You can’t perform that action at this time.
0 commit comments