Browse Source

Remove debug code

pull/6/head
Menci 7 years ago
parent
commit
2ab27ce772
  1. 1
      modules/api_v2.js

1
modules/api_v2.js

@ -92,7 +92,6 @@ app.apiRouter.post('/api/v2/judge/peek', async (req, res) => {
let judge_state, custom_test; let judge_state, custom_test;
await syzoj.utils.lock('/api/v2/judge/peek', async () => { await syzoj.utils.lock('/api/v2/judge/peek', async () => {
let waiting_judge = await WaitingJudge.findOne({ order: [['priority', 'ASC'], ['id', 'ASC']] }); let waiting_judge = await WaitingJudge.findOne({ order: [['priority', 'ASC'], ['id', 'ASC']] });
console.log(waiting_judge);
if (!waiting_judge) { if (!waiting_judge) {
return; return;
} }

Loading…
Cancel
Save