use same rabittmq connection

This commit is contained in:
2022-03-24 10:15:44 +01:00
parent 25207bb062
commit cd71577e71
6 changed files with 17 additions and 23 deletions
+1 -1
View File
@@ -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,