History | View | Annotate | Download (4 kB)
Make ZMQ thread in db_controller stoppable.
Make db_controller run all 0mq operations in a separate StoppableThreadwith a stop() method. The main thread calls it, then publishes on an in-procPUB socket to interrupt any zmq_recv() call and join the thread when cleaning...
Private fields in VM model, updated fixtures
Updated names of fields pertaining to VM state in VirtualMachine model,updated fixtures.
database.sqlite can be removed, use:
rm database.sqlite; python manage.py syncdb
to recreate it from fixtures.
Use zmq_recv() in dedicated thread in db_controller.
It seems Python can only do signal processing in the main thread.If the main thread calls zmq_recv(), no exceptions get raisedwhen a SIGINT is received for example.
WIP:This moves the zmq_recv() to a separate thread, while the main...
Fix path issue.
What commit b4141604 should have contained.
The proper contents of commit b4141604 are included here.
rename dbcontrol and charger into proper python name