Posted on: 12/4/2013 4:22:27 PM | Views : 778

Hello,
I have a WebPage that starts some caching work in a Thread for later use.
When debuggig this takes about 10 minutes to complete. When starting with "crtl +F5" this is done in less than 30 seconds.
Code to start the Thread: 
Dim Thread_Cache As New Thread(AddressOf DLRG.Thread.Cache_Mitglieder) Thread_Cache.Priority = ThreadPriority.Highest Thread_Cache.Start() Code in the Thread:
For Each Row As DataRow In HLib.IO.DB.MSSQL.Read.Table(General.DB.Settings.TableNames.DLRG.Mitglieder, "ID").Rows Dim Mitgl As New DLRG.Mitglied(Row.Item("ID")) Next The SQL Function gets the whole Table. The constructor in "DLRG.Mitglied" loads it from the DB, decrypts the data and writes it to the cache.

Does anyone have an idea?
Thanks in advance!

Go to the complete details ...