Commits

Anonymous committed 6a5b26f

small tweak related to QUARTZ-707 / QUARTZ-783

git-svn-id: http://svn.opensymphony.com/svn/quartz/trunk@92969f7d36a-ea1c-0410-88ea-9fd03e4c9665

Comments (0)

Files changed (1)

src/java/org/quartz/core/QuartzSchedulerThread.java

 		                        	// on 'synchronize', so we must recompute
 		                        	now = System.currentTimeMillis();
 		                            timeUntilTrigger = triggerTime - now;
-		                            if(timeUntilTrigger > 1)
+		                            if(timeUntilTrigger >= 1)
 		                            	sigLock.wait(timeUntilTrigger);
 		                        } catch (InterruptedException ignore) {
 		                        }