Changeset 1270 for n4d-matrix/trunk
- Timestamp:
- Apr 22, 2016, 2:17:21 PM (5 years ago)
- Location:
- n4d-matrix/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
n4d-matrix/trunk/debian/changelog
r1265 r1270 1 n4d-matrix-server (0.7) xenial; urgency=medium 2 3 * update function is now a thread 4 5 -- Hector Garcia Huerta <hectorgh@gmail.com> Fri, 22 Apr 2016 14:16:38 +0200 6 1 7 n4d-matrix-server (0.6) xenial; urgency=high 2 8 -
n4d-matrix/trunk/install_server/usr/share/n4d/python-plugins/Matrix.py
r1264 r1270 5 5 import os 6 6 import json 7 import threading 8 7 9 class Matrix: 8 10 … … 19 21 20 22 def startup(self,options): 23 21 24 try: 22 25 self.update_from_matrix() … … 25 28 26 29 def update_from_matrix(self): 30 31 t=threading.Thread(target=self.t_update_from_matrix) 32 t.daemon=True 33 t.start() 34 35 #def update_from_matrix 36 37 def t_update_from_matrix(self): 27 38 try: 28 39 if not objects['SlapdManager'].test_ldap_connection():
Note: See TracChangeset
for help on using the changeset viewer.