init icon indicating copy to clipboard operation
init copied to clipboard

Time is not right,the flow is not really finish.

Open twolight opened this issue 9 years ago • 1 comments

Future<Boolean> initTask = threadPool.submit(flowTask);

try { initTask.get(mTimeout, TimeUnit.MILLISECONDS); } catch (Exception e) { LogImpl.w(TAG, "timeout for flow: " + getName()); } long endTime = System.currentTimeMillis(); LogImpl.i(TAG, getName() + " runs " + (endTime - startTime));

Flow is not really finish.Some task may be still running. And i think flow or Init need a callback,for example in Android loading Activity.

twolight avatar Oct 21 '15 14:10 twolight

Yep, the time only tells cost for block task, asychronous tasks are not counted in.

markzhai avatar Oct 21 '15 15:10 markzhai