Commit 2b146ccf authored by Eugene Shen's avatar Eugene Shen

Add polling time list and fix minor bugs

Remove FastPriorityQueue because jIO already sorts everything
and gadget.state.message_list_dict[room] is always sorted,
fix the merge algorithm to not use a priority queue at all,
add POLL_DELAY_LIST to customize increasing polling intervals,
add current_refresh_dict as a mutex over refreshChat(),
and add requirements to function docstrings.
parent fdcbdb06
......@@ -62,7 +62,6 @@
/* Render the gadget.
* Parameters: nothing
* Effects: update header, page_title to "Connect to Chat"
*/
......
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