sg3-141-592 / AzStartStop

Self service user interface for starting and stopping VMs on demand
https://vmstartstopdemo.compactcloud.co.uk/
MIT License
22 stars 2 forks source link

Fixing 'EntityAlreadyExists' error on price cache #1

Closed sg3-141-592 closed 1 year ago

sg3-141-592 commented 1 year ago

Issue caused by trying to insert a new entry into the pricecache table after old entries have expired.

Change to using upsert instead of insert to deal with expired pricecache entries properly

image