File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
projects/client/RabbitMQ.Client/src/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 @@ -998,8 +998,8 @@ public void MaybeStartHeartbeatTimers()
998
998
_heartbeatWriteTimer = new Timer ( HeartbeatWriteTimerCallback ) ;
999
999
_heartbeatReadTimer = new Timer ( HeartbeatReadTimerCallback ) ;
1000
1000
#if NETFX_CORE
1001
- _heartbeatWriteTimer . Change ( 200 , m_heartbeatTimeSpan . Milliseconds ) ;
1002
- _heartbeatReadTimer . Change ( 200 , m_heartbeatTimeSpan . Milliseconds ) ;
1001
+ _heartbeatWriteTimer . Change ( 200 , ( int ) m_heartbeatTimeSpan . TotalMilliseconds ) ;
1002
+ _heartbeatReadTimer . Change ( 200 , ( int ) m_heartbeatTimeSpan . TotalMilliseconds ) ;
1003
1003
#else
1004
1004
_heartbeatWriteTimer . Change ( TimeSpan . FromMilliseconds ( 200 ) , m_heartbeatTimeSpan ) ;
1005
1005
_heartbeatReadTimer . Change ( TimeSpan . FromMilliseconds ( 200 ) , m_heartbeatTimeSpan ) ;
You can’t perform that action at this time.
0 commit comments