mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-08-29 22:36:19 +00:00
Delete check_hash_storage.go
This commit is contained in:
parent
91499460a7
commit
8d34ef70f1
1 changed files with 0 additions and 19 deletions
|
@ -1,19 +0,0 @@
|
|||
package job
|
||||
|
||||
import (
|
||||
"x-ui/web/service"
|
||||
)
|
||||
|
||||
type CheckHashStorageJob struct {
|
||||
tgbotService service.Tgbot
|
||||
}
|
||||
|
||||
func NewCheckHashStorageJob() *CheckHashStorageJob {
|
||||
return new(CheckHashStorageJob)
|
||||
}
|
||||
|
||||
// Here Run is an interface method of the Job interface
|
||||
func (j *CheckHashStorageJob) Run() {
|
||||
// Remove expired hashes from storage
|
||||
j.tgbotService.GetHashStorage().RemoveExpiredHashes()
|
||||
}
|
Loading…
Reference in a new issue