You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now, after pulling config from http provider, vertex will reload the config even if nothing is changed. It's unnecessary and waste.
We should introduce a mechanism like event's Finalizer , after the config loaded the finalizer should be called, and the behavior should be defined by each Provider. For example, http provider should have a global static variable to store a Signature of config, it could be md5sum, sha2sum or some revision like etcd's, and it works like:
Pull from remote server and get the signature of this config
Check if the new received signature is equal to the global one, if yes go to 4, or go to 3
Reload config, if success update the global signature, then go to 4
Wait next pull then go to 1
The text was updated successfully, but these errors were encountered:
For now, after pulling config from http provider, vertex will reload the config even if nothing is changed. It's unnecessary and waste.
We should introduce a mechanism like event's
Finalizer
, after the config loaded the finalizer should be called, and the behavior should be defined by eachProvider
. For example, http provider should have a global static variable to store aSignature
of config, it could be md5sum, sha2sum or some revision like etcd's, and it works like:The text was updated successfully, but these errors were encountered: