Skip to content
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

another race condition in storage.rb #94

Closed
Tectract opened this issue Sep 5, 2015 · 4 comments · Fixed by #149
Closed

another race condition in storage.rb #94

Tectract opened this issue Sep 5, 2015 · 4 comments · Fixed by #149

Comments

@Tectract
Copy link

Tectract commented Sep 5, 2015

seeing this a lot on my setup:

Errno::ENOENT - No such file or directory @ rb_sysopen - /home/username/myProjectFolder/tmp/data/meta_request/e03a01f8-1bf8-4c0b-ba89-0ac40c06cc95.json:
meta_request (0.3.4) lib/meta_request/storage.rb:16:in read' meta_request (0.3.4) lib/meta_request/middlewares/meta_request_handler.rb:20:inevents_json'
meta_request (0.3.4) lib/meta_request/middlewares/meta_request_handler.rb:11:in `call'

seems a lot like this issue:
#38

@raykin
Copy link

raykin commented Apr 12, 2017

@Tectract has same problem here in Rails5, do you get a workaround?

@codybrouwers
Copy link

I'm seeing the same problem, any ideas?

@modosc
Copy link
Collaborator

modosc commented May 12, 2017

i think it's possibly caused by this line:

https://github.com/dejan/rails_panel/blob/master/meta_request/lib/meta_request/storage.rb#L12

if a single page load generates more than 10 requests you'll lose the meta info from those requests. maybe that should be configurable?

@durnin
Copy link

durnin commented Oct 21, 2018

Increasing the number @modosc indicated definitely helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants