From e3ac9a067624b85ab15ed01fbec05bb881ffa861 Mon Sep 17 00:00:00 2001 From: Dirk Koopman Date: Mon, 20 Apr 2020 01:22:27 +0100 Subject: [PATCH 1/1] add info to Changes and UPGRADE.mojo --- Changes | 13 +++++++++++++ UPGRADE.mojo | 5 +++-- perl/cluster.pl | 2 +- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/Changes b/Changes index 9abc5ace..8e7cca35 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,16 @@ +19Apr20======================================================================= +1. The long haul that is the mojo branch has started up again. It's something + to do during this lockdown. +2. The problems and instabilities around running commands that worked in + forked processes, when used other than by normally logged in users (e.g. + in the local crontab), have been fixed. +3. If a /spider/local_data/logout file is present then its contents will be + sent to the user on logout. +4. Add the ability to sh/dx origin or ip (address). +5. Retire the use of the deprecated Mojo::IOLoop::ForkCall in favour of using + the supported equivalent in Mojolicious 7.26 and above. Which means you + will need to upgrade Mojo to at least the version. The current version is + 8.36 and is known to work. 10Sep19======================================================================= 1. Improve DXSql database filtering to exclude most via type reports. diff --git a/UPGRADE.mojo b/UPGRADE.mojo index 1c18f3a1..34c2e781 100644 --- a/UPGRADE.mojo +++ b/UPGRADE.mojo @@ -50,13 +50,14 @@ or You will need the following CPAN packages: - sudo cpanm EV Mojolicious Sereal JSON JSON::XS + sudo cpanm EV Mojolicious JSON JSON::XS # just in case it's missing sudo apt-get install top Please make sure that, if you insist on using operating system packages, that your Mojolicious is -at least version 7.40. Mojo::IOLoop::ForkCall is NOT LONGER IN USE! +at least version 7.26. Mojo::IOLoop::ForkCall is NOT LONGER IN USE! The current version at time +of writing is 8.36. Login as the sysop user. diff --git a/perl/cluster.pl b/perl/cluster.pl index 4e5c157f..78f2f594 100755 --- a/perl/cluster.pl +++ b/perl/cluster.pl @@ -682,9 +682,9 @@ sub per_sec $systime_days = $days; $systime_daystart = $days * 86400; } + IsoTime::update($systime); DXCommandmode::process(); # process ongoing command mode stuff DXProt::process(); # process ongoing ak1a pcxx stuff - IsoTime::update($systime); DXCron::process(); # do cron jobs DXXml::process(); DXConnect::process(); -- 2.43.0