mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +02:00
parent
44e9b1b5c4
commit
4c884cce37
2 changed files with 27 additions and 0 deletions
7
lib/tasks/epp/clear_expired_sessions.rake
Normal file
7
lib/tasks/epp/clear_expired_sessions.rake
Normal file
|
@ -0,0 +1,7 @@
|
|||
namespace :epp do
|
||||
desc 'Clear expired EPP sessions'
|
||||
|
||||
task clear_expired_sessions: :environment do
|
||||
Epp::ExpiredSessions.new(EppSession.expired).clear
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue