Commit e38349eb authored by nanahira's avatar nanahira

no first refrexh

parent c103c288
......@@ -310,18 +310,18 @@ if settings.modules.challonge.enabled
challonge_cache[1] = null
return
refresh_challonge_cache()
challonge.participants._index({
id: settings.modules.challonge.tournament_id,
callback: (() ->
challonge.matches._index({
id: settings.modules.challonge.tournament_id,
callback: (() ->
return
)
})
return
)
})
# challonge.participants._index({
# id: settings.modules.challonge.tournament_id,
# callback: (() ->
# challonge.matches._index({
# id: settings.modules.challonge.tournament_id,
# callback: (() ->
# return
# )
# })
# return
# )
# })
setInterval(refresh_challonge_cache, 30000)
# 获取可用内存
......
......@@ -362,15 +362,6 @@
challonge_cache[1] = null;
};
refresh_challonge_cache();
challonge.participants._index({
id: settings.modules.challonge.tournament_id,
callback: (function() {
challonge.matches._index({
id: settings.modules.challonge.tournament_id,
callback: (function() {})
});
})
});
setInterval(refresh_challonge_cache, 30000);
}
......
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