(groups []string)
| 1190 | } |
| 1191 | |
| 1192 | func IsSuperAdmin(groups []string) bool { |
| 1193 | for _, group := range groups { |
| 1194 | if group == SuperAdminId { |
| 1195 | return true |
| 1196 | } |
| 1197 | } |
| 1198 | |
| 1199 | return false |
| 1200 | } |
| 1201 | |
| 1202 | // RunVlogGC runs value log gc on store. It runs GC unconditionally after every 1 minute. |
| 1203 | func RunVlogGC(store *badger.DB, closer *z.Closer) { |
no outgoing calls
no test coverage detected