Commit eaa44f76 authored by Alan Mitchell's avatar Alan Mitchell
Browse files

Timed Chart Request while posting.

parent f901a1bb
......@@ -121,7 +121,9 @@ if __name__ == '__main__':
posters.append(poster)
poster.start()
time.sleep(POST_SLEEP)
time.sleep(rdg_delay)
print results_time()
time.sleep(2)
t_elapsed = time.time() - tstart
total_reads = 0
......@@ -129,5 +131,6 @@ if __name__ == '__main__':
p.stop_posting()
total_reads += p.reading_count
print t_elapsed, 'seconds of posting'
print '%.1f posts / second' % (total_reads / t_elapsed)
time.sleep(rdg_delay*1.2) # wait for threads to exit cleanly?
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment