use same rabittmq connection
This commit is contained in:
+1
-1
@@ -67,7 +67,7 @@ class ModemPool:
|
||||
ccid_group = re.search("[0-9F]+", response)
|
||||
ccid = ccid_group.group(0)
|
||||
sim_position = index + 1
|
||||
position = (slot_position - 1) * 15 + sim_position
|
||||
position = (slot_position - 1) * len(self._port_list) + sim_position
|
||||
if phone_number:
|
||||
self._db_manager.save_sim_info(SimInfoPojo(phone=phone_number, ccid=ccid, position=position))
|
||||
self._log_sender.send_log(phone_number, source=self.TAG, subject=SUBJECT_SIM_INFO,
|
||||
|
||||
Reference in New Issue
Block a user