[Red5commits] [1629] 1. ApplicationAdapter#scheduleGhostConnectionsCleanup? should use correct period

mklishin luke at codegent.com
Wed Jan 24 11:09:54 EST 2007


1. ApplicationAdapter#scheduleGhostConnectionsCleanup? should use correct period (convert seconds to milliseconds used by scheduling service)


Timestamp: 01/17/07 19:28:05 EST (1 week ago) 
Change: 1629 
Author: mklishin

Files (see diff or trac for details): 
java/server/trunk/src/org/red5/server/adapter/ApplicationAdapter.java


Trac: http://mirror1.cvsdude.com/trac/osflash/red5/changeset/1629

Index: /java/server/trunk/src/org/red5/server/adapter/ApplicationAdapter.java
===================================================================
--- /java/server/trunk/src/org/red5/server/adapter/ApplicationAdapter.java (revision 1628)
+++ /java/server/trunk/src/org/red5/server/adapter/ApplicationAdapter.java (revision 1629)
@@ -919,5 +919,5 @@
 
         // Store name so we can cancel it later
-        ghostCleanupJobName = schedulingService.addScheduledJob( ghostConnsCleanupPeriod, job );
+        ghostCleanupJobName = schedulingService.addScheduledJob( ghostConnsCleanupPeriod * 1000, job );
     }
 


Note:
Diffs are chopped if more than 25k.
This is to get past the limit on the mailing list.



More information about the Red5commits mailing list