vc-authn-oidc icon indicating copy to clipboard operation
vc-authn-oidc copied to clipboard

Polling interval time reducing for better user experiance

Open sheraliinamdar opened this issue 3 years ago • 1 comments

Hi team, During verifying the credentials, in background polling is happening for every 20 secs. However in class constructor default value i can see as 10000msec. can some please help me understand from where that polling interval 20 sec is coming ?. From user perspective view, taking around 25 seconds for verification may not be the good user experience. where can i reduce that polling time ?

Thank you!

sheraliinamdar avatar Apr 21 '22 12:04 sheraliinamdar

The setting is here; https://github.com/bcgov/vc-authn-oidc/blob/main/oidc-controller/src/VCAuthn/appsettings.json#L6

That value can be configured or overridden at runtime via any of the typical .net configuration settings methods.

An example of it being set can be found here; https://github.com/bcgov/vc-authn-oidc/blob/main/docker/docker-compose.yml#L94. The IDENTITY_SERVER_POLL_INTERVAL value is set in the ./manage script here; https://github.com/bcgov/vc-authn-oidc/blob/main/docker/manage#L182

WadeBarnes avatar Apr 21 '22 12:04 WadeBarnes

Closing, please reopen if necessary.

esune avatar Jan 18 '23 20:01 esune