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

Issue#1503 migrating gevent socketio to python socketio #1510

Conversation

MFlyer
Copy link
Member

@MFlyer MFlyer commented Nov 5, 2016

#1503
Hi @schakrava,
this PR is ready for review / to be merged.

Had some tests on every module using socketio (dashboard widgets, pincard, logs manager and services) and all seem fine, pls have some test again and confirm :)

Other useful infos:

  • gevent now is 1.1.2
  • six now is 1.10.0
  • nginx now points to 127.0.0.1:8001 without /socket.io (python-socketio hasn't it)
  • socketio.namespace missing initialize()
  • emitting doesn't require namespace:event anymore (we just use it on key property to handle all functions), namespace auto in every func under a socketio.namespace class
  • For every @rockstor/developers pls read data_collector main() notes about naming conventions etc etc

This PR requires rockstor/rockstor-jslibs#9 to be merged (js libs update, socket io to latest 1.5.1 😃 )

Mirko

…ernel_error - ad hoc func exists -, plus code cleaning
Adding listener to namespace_event instead of namespace:event (not required)
Removing listener (disconnect) now doesn't require socket.disconnect
…full python-socketio. Main has IMPORTANT notes for everyone coding new namespaces/events
Hi @schakrava, this commit saves us from having infinite emitters
on services page. While checking that glitch on modal views realized that
on every page refresh had services updates getting faster so had a check
on data_collector and found this. Curious to see how this will affect our Rockstor :)
Signed-off-by: Mirko Arena <[email protected]>
@schakrava
Copy link
Member

Nicely done @MFlyer . Removing gevent-socketio has been on my list for sometime now and I am glad you beat me to it.

@schakrava schakrava merged commit 78d80c8 into rockstor:master Nov 15, 2016
@MFlyer MFlyer deleted the issue#1503_Migrating_gevent-socketio_to_python-socketio branch November 15, 2016 10:16
@phillxnet phillxnet mentioned this pull request Apr 26, 2020
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 this pull request may close these issues.

2 participants