VOLTTRON / volttron

VOLTTRON Distributed Control System Platform
https://volttron.readthedocs.io/
Other
452 stars 217 forks source link

Issue/3179 #3180

Closed craig8 closed 1 month ago

craig8 commented 1 month ago

Description

This PR fixes issue #3179 by removing the PersistentDict from the admin_endpoint.py file. This file is responsible for initiating the creation of the web admin user. The syncing of the persistent dictionary to disk caused issues with the watchdog reloader.

This fix should be able to be merged with releases/8.2 branch

Fixes #3179

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Tests are in the process of running, and have run locally in order to verify the expected results.

Checklist:

acedrew commented 1 month ago

So this still requires the wide open on_any_event, or this works with on_closed?

craig8 commented 1 month ago

Works with on closed

craig8 commented 1 month ago

I will do an updated pr to 8.2 soon