order caching
This commit is contained in:
parent
3c3aa1cbdb
commit
6650f650ae
12
obj.go
12
obj.go
@ -29,6 +29,12 @@ var (
|
||||
func initCache() {
|
||||
var err error
|
||||
|
||||
err = loadObjType()
|
||||
logOnError(err, "initCache : caching obj_type")
|
||||
|
||||
err = loadObjSubType()
|
||||
logOnError(err, "initCache : caching obj_sub_type")
|
||||
|
||||
resetMsgParsingRules()
|
||||
msgParsingRules, err = loadMsgParsingRules()
|
||||
logOnError(err, "initCache : message parsing rules")
|
||||
@ -48,12 +54,6 @@ func initCache() {
|
||||
err = loadObjMsg()
|
||||
logOnError(err, "initCache : caching msgs")
|
||||
|
||||
err = loadObjType()
|
||||
logOnError(err, "initCache : caching obj_type")
|
||||
|
||||
err = loadObjSubType()
|
||||
logOnError(err, "initCache : caching obj_sub_type")
|
||||
|
||||
}
|
||||
|
||||
func loadObjType() error {
|
||||
|
Loading…
Reference in New Issue
Block a user