-
Notifications
You must be signed in to change notification settings - Fork 129
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
Data extractor disconnects #1653
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1653 +/- ##
==========================================
- Coverage 77.85% 77.84% -0.02%
==========================================
Files 234 232 -2
Lines 18161 18122 -39
==========================================
- Hits 14140 14107 -33
+ Misses 4021 4015 -6
Continue to review full report at Codecov.
|
import * as ActionCable from 'actioncable' | ||
import * as ActionCable from '@rails/actioncable' | ||
//ActionCable.logger.enabled = true | ||
ActionCable.ConnectionMonitor.staleThreshold = 60 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the default is 6. Do you think this is what did it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This helped. The multiple files was the other main change.
if (this.bytesReceived > 200000000) { | ||
this.bytesReceived = 0 | ||
this.createFile() | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create a new file every 200MB?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Otherwise the browser uses up tons of RAM. At this amount it still gets up to about 1 GB.
end | ||
false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're not really using the return value (true/false) anymore. ReducerModel.rm_file(file) everytime. Not sure why that was in an if before but I don't think we ever returned false.
closes #1625