1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 22:32:06 +01:00

Delay Reduced

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8183 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Thiago Camargo 2007-05-04 05:31:12 +00:00 committed by thiago
parent 5dbf96d109
commit 3e5cfc0a25

View file

@ -209,9 +209,9 @@ public class ImageTransmitter implements Runnable {
trace = (System.currentTimeMillis() - trace); trace = (System.currentTimeMillis() - trace);
System.out.println("Loop Time:" + trace); System.out.println("Loop Time:" + trace);
if (trace < 1000) { if (trace < 500) {
try { try {
Thread.sleep(1000 - trace); Thread.sleep(500 - trace);
} }
catch (InterruptedException e) { catch (InterruptedException e) {
e.printStackTrace(); e.printStackTrace();