File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1714,17 +1714,17 @@ def shutdown_no_activity(self):
1714
1714
1715
1715
seconds_since_active = \
1716
1716
(utcnow () - self .web_app .last_activity ()).total_seconds ()
1717
- self .log .debug (_i18n ( "No activity for %d seconds." ,
1718
- seconds_since_active ))
1717
+ self .log .debug ("No activity for %d seconds." ,
1718
+ seconds_since_active )
1719
1719
if seconds_since_active > self .shutdown_no_activity_timeout :
1720
- self .log .info (_i18n ( "No kernels or terminals for %d seconds; shutting down." ,
1721
- seconds_since_active ))
1720
+ self .log .info ("No kernels or terminals for %d seconds; shutting down." ,
1721
+ seconds_since_active )
1722
1722
self .stop ()
1723
1723
1724
1724
def init_shutdown_no_activity (self ):
1725
1725
if self .shutdown_no_activity_timeout > 0 :
1726
- self .log .info (_i18n ( "Will shut down after %d seconds with no kernels or terminals." ,
1727
- self .shutdown_no_activity_timeout ))
1726
+ self .log .info ("Will shut down after %d seconds with no kernels or terminals." ,
1727
+ self .shutdown_no_activity_timeout )
1728
1728
pc = ioloop .PeriodicCallback (self .shutdown_no_activity , 60000 )
1729
1729
pc .start ()
1730
1730
You can’t perform that action at this time.
0 commit comments