NewSpring / Rock-Plugins

NewSpring plugins for Rock RMS
http://www.rockrms.com/
3 stars 5 forks source link

Cached EF query being run multiple times during check-in #201

Closed dcs619 closed 8 years ago

dcs619 commented 9 years ago

https://gist.github.com/dcs619/28472b51395eff9c4a7c

Set up 22 stations, this query has run 80+ times in 5 minutes.

dcs619 commented 9 years ago

That query only runs (manually) once: https://github.com/NewSpring/Rock-Plugins/blob/develop/RockWeb/Plugins/cc_newspring/AttendedCheckIn/Admin.ascx.cs#L187

dcs619 commented 8 years ago

Fixed in https://github.com/SparkDevNetwork/Rock/commit/ac9a9456d59a6a6c1bdf8642e43e875613bed2ed