Fixed bug in Session.updateLastActivity

main
Inga 🏳‍🌈 15 years ago
parent ea26d456b3
commit 780fb01025
  1. 2
      Builder/IISMainHandler/build.txt
  2. 2
      Builder/IISUploadHandler/build.txt
  3. 2
      Common/dataobjects/Session.cs

@ -92,7 +92,7 @@ namespace FLocal.Common.dataobjects {
}
public void updateLastActivity() {
if(DateTime.Now.Subtract(this.lastActivity).Seconds < 30) return; //to partially remove db load
if(DateTime.Now.Subtract(this.lastActivity).TotalSeconds < 30) return; //to partially remove db load
try {
Config.Transactional(transaction => {
Config.instance.mainConnection.update(

Loading…
Cancel
Save