File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed
src/main/java/org/b3log/symphony Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -314,7 +314,14 @@ public static void main(final String[] args) throws Exception {
314314 String staticResourceVersion = Symphonys .get ("staticResourceVersion" );
315315 STARTUP_STR = "<li>Rhythm 启动时间:" + startupTime + "</li><li>Rhythm 编译版本:" + staticResourceVersion + "</li>" ;
316316
317- ChatRoomBot .sendBotMsg ("#### 维护完毕:sparkles:\n 社区已结束维护,可以开始聊天啦 :smile:\n Rhythm 启动时间 " + ClockEmojiMapper .getClockEmojiCode (LocalTime .now ()) + " " + startupTime + "\n Rhythm 编译版本 :dart: " + staticResourceVersion );
317+ Thread .startVirtualThread (() -> {
318+ try {
319+ Thread .sleep (5000 );
320+ } catch (InterruptedException e ) {
321+ throw new RuntimeException (e );
322+ }
323+ ChatRoomBot .sendBotMsg ("#### 维护完毕:sparkles:\n 社区已结束维护,可以开始聊天啦 :smile:\n Rhythm 启动时间 " + ClockEmojiMapper .getClockEmojiCode (LocalTime .now ()) + " " + startupTime + "\n Rhythm 编译版本 :dart: " + staticResourceVersion );
324+ });
318325
319326 System .out .println (">>> Quick boot mode requirements is ready!" );
320327
Original file line number Diff line number Diff line change 1+ /*
2+ * Rhythm - A modern community (forum/BBS/SNS/blog) platform written in Java.
3+ * Modified version from Symphony, Thanks Symphony :)
4+ * Copyright (C) 2012-present, b3log.org
5+ *
6+ * This program is free software: you can redistribute it and/or modify
7+ * it under the terms of the GNU Affero General Public License as published by
8+ * the Free Software Foundation, either version 3 of the License, or
9+ * (at your option) any later version.
10+ *
11+ * This program is distributed in the hope that it will be useful,
12+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+ * GNU Affero General Public License for more details.
15+ *
16+ * You should have received a copy of the GNU Affero General Public License
17+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
18+ */
119package org .b3log .symphony .util ;
220
321import java .time .LocalTime ;
You can’t perform that action at this time.
0 commit comments