Commit 5b860211 authored by Robert Czechowski's avatar Robert Czechowski
Browse files

Fioi task wrapper 'wrapper.html': Save task answer automatically in intervals of 10 seconds

parent ef42fbae
Pipeline #985 passed with stages
in 13 minutes and 4 seconds
......@@ -154,6 +154,10 @@ function getTaskProxyCallback(task) {
TaskProxyManager.setPlatform(task, platform);
task.getViews(getViewsCallback, ec("task.getViews"));
setInterval(function(){
task.getAnswer(getAnswerCallback, ec("task.getAnswer"));
}, 10000);
}
function main() {
......
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