Closed bennlich closed 4 years ago
simulate-activity.js simulates POSTs from exitnodes to help you test the monitor app locally.
Currently, all the simulated POSTs occur simultaneously, which is not what happens with real exitnodes (each one executes a POST whenever it wants).
The script should be modified to send the second POST after waiting for a second after the first POST.
This would've quickly revealed the bug described in this comment.
cc @thedig
simulate-activity.js simulates POSTs from exitnodes to help you test the monitor app locally.
Currently, all the simulated POSTs occur simultaneously, which is not what happens with real exitnodes (each one executes a POST whenever it wants).
The script should be modified to send the second POST after waiting for a second after the first POST.
This would've quickly revealed the bug described in this comment.
cc @thedig