Bug fixing

+ DB access is now right and uses copied sessions
+ DB session is now specifying the safe state and the mode
+ Fixed the issue with too early ICCC messages regarding to late cache
+ Add the MIME type for Dart
+ Fixed the issuse with wrong order of shutdown handlers
- TODO: Testing of these changes
This commit is contained in:
Thorsten Sommer committed 2014-06-04 21:41:18 +02:00
1 parent 86451938ec
commit 7120a729bd
19 files changed
+85 -48

No files matched your search

+2 -1
View File
@@ -17,7 +17,8 @@ func init() {
}
filename = ConfigurationDB.Read(`FilenameWebResources`)
gridFS := CustomerDB.GridFS()
dbSession, gridFS := CustomerDB.GridFS()
defer dbSession.Close()
if gridFile, errGridFile := gridFS.Open(filename); errGridFile != nil {
Log.LogFull(senderName, LM.CategorySYSTEM, LM.LevelERROR, LM.SeverityCritical, LM.ImpactCritical, LM.MessageNameDATABASE, `Was not able to open the web content out of the GridFS!`, filename, errGridFile.Error())