1
This commit is contained in:
parent
4ab0643ecd
commit
be939d2ab0
@ -93,6 +93,17 @@ func (this *app) registerDataSources() {
|
||||
mt.Table.BcEventDb.GetById(0).GetMaxOpenConns(),
|
||||
mt.Table.BcEventDb.GetById(0).GetMaxIdleConns())
|
||||
|
||||
f5.GetGoStyleDb().RegisterDataSource(
|
||||
constant.LOG_DB,
|
||||
mt.Table.LogDb.GetById(0).GetHost(),
|
||||
mt.Table.LogDb.GetById(0).GetPort(),
|
||||
mt.Table.LogDb.GetById(0).GetUser(),
|
||||
mt.Table.LogDb.GetById(0).GetPasswd(),
|
||||
mt.Table.LogDb.GetById(0).GetDatabase(),
|
||||
1,
|
||||
mt.Table.LogDb.GetById(0).GetMaxOpenConns(),
|
||||
mt.Table.LogDb.GetById(0).GetMaxIdleConns())
|
||||
|
||||
}
|
||||
|
||||
func (this *app) HasTask() bool {
|
||||
|
Loading…
x
Reference in New Issue
Block a user