Remove compulsory reindex at startup
This commit is contained in:
parent
0c4cbe11be
commit
ce1c5e1129
1 changed files with 0 additions and 3 deletions
|
|
@ -18,9 +18,6 @@ func (r *stormRepository) init(entity interface{}) {
|
|||
if err := Db().Init(r.bucket); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
if err := Db().ReIndex(r.bucket); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
|
||||
func (r *stormRepository) CountAll() (int64, error) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue