diff --git a/freedata_server/explorer.py b/freedata_server/explorer.py index 6655752e..a98eabc5 100644 --- a/freedata_server/explorer.py +++ b/freedata_server/explorer.py @@ -39,7 +39,7 @@ class explorer(): away_from_key = str(self.states.is_away_from_key) # stop pushing if default callsign - if callsign in ['XX1XXX-6']: + if callsign in ['AA1AAA-1', 'XX1XXX-6']: return # disabled this one @@ -65,6 +65,5 @@ class explorer(): station_data = json.dumps(station_data) try: response = requests.post(self.explorer_url, json=station_data, headers=headers) - except Exception as e: log.warning("[EXPLORER] connection lost") diff --git a/freedata_server/schedule_manager.py b/freedata_server/schedule_manager.py index 3bfb9196..94b03d74 100644 --- a/freedata_server/schedule_manager.py +++ b/freedata_server/schedule_manager.py @@ -19,8 +19,8 @@ class ScheduleManager: self.scheduler = sched.scheduler(time.time, time.sleep) self.events = { - 'check_for_queued_messages': {'function': self.check_for_queued_messages, 'interval': 10}, - 'explorer_publishing': {'function': self.push_to_explorer, 'interval': 60}, + 'check_for_queued_messages': {'function': self.check_for_queued_messages, 'interval': 5}, + 'explorer_publishing': {'function': self.push_to_explorer, 'interval': 6}, 'transmitting_beacon': {'function': self.transmit_beacon, 'interval': 600}, 'beacon_cleanup': {'function': self.delete_beacons, 'interval': 600}, }