From 8d34ef70f10b4672f7a8639072ceda37db735fab Mon Sep 17 00:00:00 2001 From: Peyman <118217228+Ptechgithub@users.noreply.github.com> Date: Thu, 25 May 2023 14:03:03 +0330 Subject: [PATCH] Delete check_hash_storage.go --- web/job/check_hash_storage.go | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 web/job/check_hash_storage.go diff --git a/web/job/check_hash_storage.go b/web/job/check_hash_storage.go deleted file mode 100644 index 468aa2e0..00000000 --- a/web/job/check_hash_storage.go +++ /dev/null @@ -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() -}