Skip to content

Commit

Permalink
修复_commit表和_latest表初始化失败的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Dot-Liu committed Sep 6, 2024
1 parent fd270f2 commit 1a856a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion service/api/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,4 @@ func init() {

commit.InitCommitWithKeyService[Proxy]("api", string(HistoryProxy))
commit.InitCommitWithKeyService[Request]("api", string(HistoryRequest))

}
1 change: 1 addition & 0 deletions stores/universally/commit/wtype.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ type StoreWidthType[H any] struct {
func NewCommitWithKey[H any](name, key string) *StoreWidthType[H] {
return &StoreWidthType[H]{
Store: Store[H]{
name: name,
latestTableName: name + "_latest",
commitTableName: name + "_commit",
},
Expand Down

0 comments on commit 1a856a9

Please sign in to comment.