mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2026-03-01 03:56:17 +00:00
Fixed stale job issue
This commit is contained in:
@@ -173,9 +173,7 @@ class AmneziaWireguardConfiguration(WireguardConfiguration):
|
||||
self.metadata.create_all(self.engine)
|
||||
|
||||
def getPeers(self):
|
||||
self.Peers.clear()
|
||||
current_app.logger.info(f"Refreshing {self.Name} peer list")
|
||||
|
||||
self.Peers.clear()
|
||||
if self.configurationFileChanged():
|
||||
with open(self.configPath, 'r') as configFile:
|
||||
p = []
|
||||
|
||||
Reference in New Issue
Block a user