|
|
|
@ -532,6 +532,8 @@ class GamesService
|
|
|
|
|
shixun = Shixun.select([:id, :evaluate_script, :webssh, :exec_time, :sigle_training, :identifier, :status]).find(myshixun.shixun_id)
|
|
|
|
|
game_challenge = Challenge.select([:id, :position, :picture_path]).find(game.challenge_id)
|
|
|
|
|
|
|
|
|
|
logger.info("#########container: #{shixun_container_limit(shixun)}")
|
|
|
|
|
|
|
|
|
|
# 更新评测次数
|
|
|
|
|
game.update_column(:evaluate_count, (game.evaluate_count.to_i + 1))
|
|
|
|
|
# 清空代码评测信息
|
|
|
|
|