PR

管理画面の懐中時計効果時間を修正 #2221

kouho opened this at 2022-08-22T17:18:00; closed

Description

opened by kouho at 2022-08-22T17:18:00; updated 2022-09-02T10:49:36

概要

管理画面の時計効果時間を修正してcron実行用のスクリプトの修正と過去の集計し直しのスクリプトを追加しています。

テスト方法、確認した内容

lib/exec/tool_cpanel_daily_clock_use.php を実行
ローカルで実行すると時間がかかりますがcpanel_daily_clock_useに2020-06-16から実行日までのデータが集計されて入ればOKです

TODO

確認できしだい本番反映

Comment

#21778 by kouho at 2022-08-22T17:18:30; updated 2022-08-22T17:18:30

@wada
集計スクリプトの修正が入っているため念の為確認をお願いいたします

Comment

#21955 by wada at 2022-08-30T11:29:04; updated 2022-08-30T11:29:04

@kouho
このスクリプトをlog_itemに対して実行するとかなりの時間がかかりそうなのですが、本番のlog_itemに対して実行して大丈夫でしょうか?

Comment

#21990 by kouho at 2022-08-31T15:22:27; updated 2022-08-31T15:22:27

@wada
指摘ありがとうございます。クエリを修正してlog_itemのreg_dateのindexを使うように修正しました。
EXPLAINしたところ全件検索ではなくなっているはずですので確認お願いいたします。

Comment

#22005 by kouho at 2022-09-01T10:20:02; updated 2022-09-01T10:20:02

cpanel_daily_log_item_analytics を使う形に修正

kouho merge at 2022-09-02T10:33:38: 管理画面の懐中時計効果時間を修正
kouho close at 2022-09-02T10:33:38: Close
kouho refer at 2022-09-02T10:49:36: 2252:【9/2】管理画面 時計効果修正

Commit range

base2e8499860e609663e9fc9b96d54ad26b76a481b2
head28e72e201342482b174e10d5202da67a47abcb53
base branchjolly/jr-web:develop
head branchjolly/jr-web:fix_cpanel_tokei

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed5 filesView patch
statusfile
modifiedlib/exec/cpanel_daily_clock_use.php
modifiedlib/exec/cpanel_daily_clock_use.sh
modifiedlib/exec/cpanel_monthly_clock_use.php
modifiedlib/exec/cpanel_monthly_clock_use.sh
modifiedlib/exec/tool_cpanel_daily_clock_use.php
Patch body is stored as a separate file to keep this page lightweight.