-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Job の finished runs 表示での Ajax error #710
Comments
いろいろ見ていたら、以下のような情報があった。
(上記の <<<<< は、ハイライト部分)
|
show entry 数を減らす(25などにする)と、エラーがなくなるように見える。 |
エラーメッセージを読む限り、メモリを過剰に消費しているようです。 |
たしかに、result (_output.json の中身) が結構大きい事例でそうなっている。(最近、そういうものをよく流しているので) |
すでに def runs_lists
@runs.order_by(sort_column_direction).without(:result).skip(page).limit(per_page)
end このテーブルでは @@ -35,6 +35,7 @@ module Submittable
# indexes
base.send(:index, { status: 1, submitted_to_id: 1 }, { name: "#{base.to_s.downcase}_status_submitted_to_index" })
base.send(:index, { status: 1, created_at: -1 }, { name: "#{base.to_s.downcase}_status_updated_at_index" })
+ base.send(:index, { updated_at: -1 }, { name: "#{base.to_s.downcase}_updated_at_index" }) |
@noda50 こちらどうでしょうか?一行追加するだけなので少し試してもらえませんか? |
Simulator を新たに作ったり、大量の job を submit したりした後にその Simulator を消したり、などを繰り返していると、以下のエラーが生じるように見える。
まず、"Jobs" の画面の "Finished Runs" のタブ表示で、以下のポップアップが表示。
ブラウザの developper console で確認すると、以下のエラーが出ている。
ここから先は、どう追っていいか、わからず。
なお、"Finished Runs" において、ソートのキーを、"updated_at" 以外にすると、上記のエラーは生じない。
The text was updated successfully, but these errors were encountered: