remarkbox/remarkbox/models
Russell Ballestrini 73faf89fed Optimize target verification by reducing unnecessary updates
- Modified verify_target method to skip updating the target if the NamespaceRequest is already verified and the last verification was within the past day.
- This change reduces unnecessary modifications to the target, improving efficiency and maintaining data integrity.
- Added logging to indicate when target verification is skipped due to verification status.

hopefully this:

* lowers cpu usage, although it can't hurt.
* reduces database churn and locking.

	modified:   remarkbox/models/namespace_request.py
2024-10-06 19:35:29 -04:00
..
__init__.py time to open sause & place into public domain! 2021-12-26 07:44:05 -05:00
event.py time to open sause & place into public domain! 2021-12-26 07:44:05 -05:00
meta.py Verification challenge code refactor 2022-06-19 19:01:31 -04:00
namespace.py time to open sause & place into public domain! 2021-12-26 07:44:05 -05:00
namespace_request.py Optimize target verification by reducing unnecessary updates 2024-10-06 19:35:29 -04:00
namespace_user.py time to open sause & place into public domain! 2021-12-26 07:44:05 -05:00
node.py Always link to the slug even if it's empty string. 2024-02-05 19:23:45 -05:00
node_cache.py time to open sause & place into public domain! 2021-12-26 07:44:05 -05:00
notification.py time to open sause & place into public domain! 2021-12-26 07:44:05 -05:00
oauth.py time to open sause & place into public domain! 2021-12-26 07:44:05 -05:00
pay_what_you_can.py time to open sause & place into public domain! 2021-12-26 07:44:05 -05:00
uri.py time to open sause & place into public domain! 2021-12-26 07:44:05 -05:00
user.py Update remarkbox/models/user.py 2023-04-26 16:04:39 +00:00
vote.py time to open sause & place into public domain! 2021-12-26 07:44:05 -05:00
watcher.py time to open sause & place into public domain! 2021-12-26 07:44:05 -05:00