连接数据库拒绝访问原因 #182

Open
opened 2024-10-11 23:43:40 +08:00 by llm · 1 comment

我在执行以下代码
docker restart oneapi
代码时没有反应,通过docker logs oneapi 查到出现图中问题,请问老师如何解决

我在执行以下代码 docker restart oneapi 代码时没有反应,通过docker logs oneapi 查到出现图中问题,请问老师如何解决

MySQL 启动较慢,oneapi 容器在 MySQL 准备好之前尝试连接数据库会出现connection refused。在 MySQL 准备好之后就连接成功了。以下oneapi启动成功的docker日志文件

$ sudo docker logs -f oneapi
[SYS] 2024/10/12 - 09:09:59 | One API v0.6.6 started 
[SYS] 2024/10/12 - 09:09:59 | using MySQL as database 

2024/10/12 09:09:59 /build/model/main.go:79
[error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused
[FATAL] 2024/10/12 - 09:09:59 | [dial tcp 172.29.0.5:3306: connect: connection refused] 
[SYS] 2024/10/12 - 09:10:03 | One API v0.6.6 started 
[SYS] 2024/10/12 - 09:10:03 | using MySQL as database 

2024/10/12 09:10:03 /build/model/main.go:79
[error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused
[FATAL] 2024/10/12 - 09:10:03 | [dial tcp 172.29.0.5:3306: connect: connection refused] 
[SYS] 2024/10/12 - 09:10:06 | One API v0.6.6 started 
[SYS] 2024/10/12 - 09:10:06 | using MySQL as database 

2024/10/12 09:10:06 /build/model/main.go:79
[error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused
[FATAL] 2024/10/12 - 09:10:06 | [dial tcp 172.29.0.5:3306: connect: connection refused] 
[SYS] 2024/10/12 - 09:10:09 | One API v0.6.6 started 
[SYS] 2024/10/12 - 09:10:09 | using MySQL as database 

2024/10/12 09:10:09 /build/model/main.go:79
[error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused
[FATAL] 2024/10/12 - 09:10:09 | [dial tcp 172.29.0.5:3306: connect: connection refused] 
[SYS] 2024/10/12 - 09:10:12 | One API v0.6.6 started 
[SYS] 2024/10/12 - 09:10:12 | using MySQL as database 

2024/10/12 09:10:12 /build/model/main.go:79
[error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused
[FATAL] 2024/10/12 - 09:10:12 | [dial tcp 172.29.0.5:3306: connect: connection refused] 
[SYS] 2024/10/12 - 09:10:15 | One API v0.6.6 started 
[SYS] 2024/10/12 - 09:10:15 | using MySQL as database 

2024/10/12 09:10:15 /build/model/main.go:79
[error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused
[FATAL] 2024/10/12 - 09:10:15 | [dial tcp 172.29.0.5:3306: connect: connection refused] 
[SYS] 2024/10/12 - 09:10:20 | One API v0.6.6 started 
[SYS] 2024/10/12 - 09:10:20 | using MySQL as database 

2024/10/12 09:10:20 /build/model/main.go:79
[FATAL] 2024/10/12 - 09:10:20 | [dial tcp 172.29.0.5:3306: connect: connection refused] 
[error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused
[SYS] 2024/10/12 - 09:10:28 | One API v0.6.6 started 
[SYS] 2024/10/12 - 09:10:28 | using MySQL as database 

2024/10/12 09:10:28 /build/model/main.go:79
[error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused
[FATAL] 2024/10/12 - 09:10:28 | [dial tcp 172.29.0.5:3306: connect: connection refused] 
[SYS] 2024/10/12 - 09:10:42 | One API v0.6.6 started 
[SYS] 2024/10/12 - 09:10:42 | using MySQL as database 

2024/10/12 09:10:42 /build/model/main.go:79
[error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused
[FATAL] 2024/10/12 - 09:10:42 | [dial tcp 172.29.0.5:3306: connect: connection refused] 
[SYS] 2024/10/12 - 09:11:09 | One API v0.6.6 started 
[SYS] 2024/10/12 - 09:11:09 | using MySQL as database 

2024/10/12 09:11:09 /build/model/main.go:79
[error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused
[FATAL] 2024/10/12 - 09:11:09 | [dial tcp 172.29.0.5:3306: connect: connection refused] 
[SYS] 2024/10/12 - 09:12:03 | One API v0.6.6 started 
[SYS] 2024/10/12 - 09:12:03 | using MySQL as database 

2024/10/12 09:12:03 /build/model/main.go:79
[error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused
[FATAL] 2024/10/12 - 09:12:03 | [dial tcp 172.29.0.5:3306: connect: connection refused] 
[SYS] 2024/10/12 - 09:13:04 | One API v0.6.6 started 
[SYS] 2024/10/12 - 09:13:04 | using MySQL as database 
[SYS] 2024/10/12 - 09:13:04 | database migration started 

2024/10/12 09:13:05 /build/model/main.go:113 SLOW SQL >= 200ms
[1822.142ms] [rows:0] CREATE TABLE `channels` (`id` bigint AUTO_INCREMENT,`type` bigint DEFAULT 0,`key` text,`status` bigint DEFAULT 1,`name` varchar(191),`weight` bigint unsigned DEFAULT 0,`created_time` bigint,`test_time` bigint,`response_time` bigint,`base_url` varchar(191) DEFAULT '',`other` longtext,`balance` double,`balance_updated_time` bigint,`models` longtext,`group` varchar(32) DEFAULT 'default',`used_quota` bigint DEFAULT 0,`model_mapping` varchar(1024) DEFAULT '',`priority` bigint DEFAULT 0,`config` longtext,PRIMARY KEY (`id`),INDEX `idx_channels_name` (`name`))

2024/10/12 09:13:06 /build/model/main.go:117 SLOW SQL >= 200ms
[906.629ms] [rows:0] CREATE TABLE `tokens` (`id` bigint AUTO_INCREMENT,`user_id` bigint,`key` char(48),`status` bigint DEFAULT 1,`name` varchar(191),`created_time` bigint,`accessed_time` bigint,`expired_time` bigint DEFAULT -1,`remain_quota` bigint DEFAULT 0,`unlimited_quota` boolean DEFAULT false,`used_quota` bigint DEFAULT 0,`models` varchar(191) DEFAULT '',`subnet` varchar(191) DEFAULT '',PRIMARY KEY (`id`),UNIQUE INDEX `idx_tokens_key` (`key`),INDEX `idx_tokens_name` (`name`))

2024/10/12 09:13:08 /build/model/main.go:121 SLOW SQL >= 200ms
[2052.474ms] [rows:0] CREATE TABLE `users` (`id` bigint AUTO_INCREMENT,`username` varchar(191),`password` longtext NOT NULL,`display_name` varchar(191),`role` bigint DEFAULT 1,`status` bigint DEFAULT 1,`email` varchar(191),`github_id` varchar(191),`wechat_id` varchar(191),`lark_id` varchar(191),`access_token` char(32),`quota` bigint DEFAULT 0,`used_quota` bigint DEFAULT 0,`request_count` bigint DEFAULT 0,`group` varchar(32) DEFAULT 'default',`aff_code` varchar(32),`inviter_id` bigint,PRIMARY KEY (`id`),INDEX `idx_users_display_name` (`display_name`),INDEX `idx_users_email` (`email`),UNIQUE INDEX `idx_users_access_token` (`access_token`),INDEX `idx_users_inviter_id` (`inviter_id`),UNIQUE INDEX `idx_users_aff_code` (`aff_code`),INDEX `idx_users_username` (`username`),INDEX `idx_users_git_hub_id` (`github_id`),INDEX `idx_users_we_chat_id` (`wechat_id`),INDEX `idx_users_lark_id` (`lark_id`),CONSTRAINT `uni_users_username` UNIQUE (`username`))

2024/10/12 09:13:09 /build/model/main.go:125 SLOW SQL >= 200ms
[723.645ms] [rows:0] CREATE TABLE `options` (`key` varchar(191),`value` longtext,PRIMARY KEY (`key`))

2024/10/12 09:13:10 /build/model/main.go:129 SLOW SQL >= 200ms
[1249.361ms] [rows:0] CREATE TABLE `redemptions` (`id` bigint AUTO_INCREMENT,`user_id` bigint,`key` char(32),`status` bigint DEFAULT 1,`name` varchar(191),`quota` bigint DEFAULT 100,`created_time` bigint,`redeemed_time` bigint,PRIMARY KEY (`id`),UNIQUE INDEX `idx_redemptions_key` (`key`),INDEX `idx_redemptions_name` (`name`))

2024/10/12 09:13:11 /build/model/main.go:133 SLOW SQL >= 200ms
[999.919ms] [rows:0] CREATE TABLE `abilities` (`group` varchar(32),`model` varchar(191),`channel_id` bigint,`enabled` boolean,`priority` bigint DEFAULT 0,PRIMARY KEY (`group`,`model`,`channel_id`),INDEX `idx_abilities_channel_id` (`channel_id`),INDEX `idx_abilities_priority` (`priority`))

2024/10/12 09:13:13 /build/model/main.go:137 SLOW SQL >= 200ms
[1525.533ms] [rows:0] CREATE TABLE `logs` (`id` bigint AUTO_INCREMENT,`user_id` bigint,`created_at` bigint,`type` bigint,`content` longtext,`username` varchar(191) DEFAULT '',`token_name` varchar(191) DEFAULT '',`model_name` varchar(191) DEFAULT '',`quota` bigint DEFAULT 0,`prompt_tokens` bigint DEFAULT 0,`completion_tokens` bigint DEFAULT 0,`channel_id` bigint,PRIMARY KEY (`id`),INDEX `idx_logs_token_name` (`token_name`),INDEX `idx_logs_model_name` (`model_name`),INDEX `idx_logs_channel_id` (`channel_id`),INDEX `idx_logs_user_id` (`user_id`),INDEX `idx_created_at_type` (`created_at`,`type`),INDEX `index_username_model_name` (`model_name`,`username`))
[SYS] 2024/10/12 - 09:13:13 | database migrated 

2024/10/12 09:13:13 /build/model/main.go:26 record not found
[12.141ms] [rows:0] SELECT * FROM `users` ORDER BY `users`.`id` LIMIT 1
[SYS] 2024/10/12 - 09:13:13 | no user exists, creating a root user for you: username is root, password is 123456 
[SYS] 2024/10/12 - 09:13:13 | creating initial root token as requested 
[SYS] 2024/10/12 - 09:13:13 | REDIS_CONN_STRING not set, Redis is not enabled 
[SYS] 2024/10/12 - 09:13:13 | using theme default 
[SYS] 2024/10/12 - 09:13:13 | memory cache enabled 
[SYS] 2024/10/12 - 09:13:13 | sync frequency: 600 seconds 
[SYS] 2024/10/12 - 09:13:13 | channels synced from database 
[SYS] 2024/10/12 - 09:13:13 | batch update enabled with interval 10s 
[SYS] 2024/10/12 - 09:13:13 | initializing token encoders 
[SYS] 2024/10/12 - 09:13:16 | token encoders initialized 
[SYS] 2024/10/12 - 09:13:23 | batch update started 
[SYS] 2024/10/12 - 09:13:23 | batch update finished 
[SYS] 2024/10/12 - 09:13:33 | batch update started 
[SYS] 2024/10/12 - 09:13:33 | batch update finished 
[SYS] 2024/10/12 - 09:13:43 | batch update started 
[SYS] 2024/10/12 - 09:13:43 | batch update finished 
[SYS] 2024/10/12 - 09:13:53 | batch update started 
[SYS] 2024/10/12 - 09:13:53 | batch update finished 
[SYS] 2024/10/12 - 09:14:03 | batch update started 
[SYS] 2024/10/12 - 09:14:03 | batch update finished 
[SYS] 2024/10/12 - 09:14:13 | batch update started 
[SYS] 2024/10/12 - 09:14:13 | batch update finished 
[SYS] 2024/10/12 - 09:14:23 | batch update started 
[SYS] 2024/10/12 - 09:14:23 | batch update finished 
[SYS] 2024/10/12 - 09:14:33 | batch update started 
[SYS] 2024/10/12 - 09:14:33 | batch update finished 
[SYS] 2024/10/12 - 09:14:43 | batch update started 
[SYS] 2024/10/12 - 09:14:43 | batch update finished 
[SYS] 2024/10/12 - 09:14:53 | batch update started 
[SYS] 2024/10/12 - 09:14:53 | batch update finished 
[SYS] 2024/10/12 - 09:15:03 | batch update started 
[SYS] 2024/10/12 - 09:15:03 | batch update finished 
[SYS] 2024/10/12 - 09:15:13 | batch update started 
[SYS] 2024/10/12 - 09:15:13 | batch update finished 
[SYS] 2024/10/12 - 09:15:23 | batch update started 
[SYS] 2024/10/12 - 09:15:23 | batch update finished 
[SYS] 2024/10/12 - 09:15:33 | batch update started 
[SYS] 2024/10/12 - 09:15:33 | batch update finished 
[SYS] 2024/10/12 - 09:15:43 | batch update started 
[SYS] 2024/10/12 - 09:15:43 | batch update finished 
[SYS] 2024/10/12 - 09:15:53 | batch update started 
[SYS] 2024/10/12 - 09:15:53 | batch update finished 
[SYS] 2024/10/12 - 09:16:03 | batch update started 
[SYS] 2024/10/12 - 09:16:03 | batch update finished 
[SYS] 2024/10/12 - 09:16:13 | batch update started 
[SYS] 2024/10/12 - 09:16:13 | batch update finished 
MySQL 启动较慢,oneapi 容器在 MySQL 准备好之前尝试连接数据库会出现connection refused。在 MySQL 准备好之后就连接成功了。以下oneapi启动成功的docker日志文件 ``` $ sudo docker logs -f oneapi [SYS] 2024/10/12 - 09:09:59 | One API v0.6.6 started [SYS] 2024/10/12 - 09:09:59 | using MySQL as database 2024/10/12 09:09:59 /build/model/main.go:79 [error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused [FATAL] 2024/10/12 - 09:09:59 | [dial tcp 172.29.0.5:3306: connect: connection refused] [SYS] 2024/10/12 - 09:10:03 | One API v0.6.6 started [SYS] 2024/10/12 - 09:10:03 | using MySQL as database 2024/10/12 09:10:03 /build/model/main.go:79 [error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused [FATAL] 2024/10/12 - 09:10:03 | [dial tcp 172.29.0.5:3306: connect: connection refused] [SYS] 2024/10/12 - 09:10:06 | One API v0.6.6 started [SYS] 2024/10/12 - 09:10:06 | using MySQL as database 2024/10/12 09:10:06 /build/model/main.go:79 [error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused [FATAL] 2024/10/12 - 09:10:06 | [dial tcp 172.29.0.5:3306: connect: connection refused] [SYS] 2024/10/12 - 09:10:09 | One API v0.6.6 started [SYS] 2024/10/12 - 09:10:09 | using MySQL as database 2024/10/12 09:10:09 /build/model/main.go:79 [error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused [FATAL] 2024/10/12 - 09:10:09 | [dial tcp 172.29.0.5:3306: connect: connection refused] [SYS] 2024/10/12 - 09:10:12 | One API v0.6.6 started [SYS] 2024/10/12 - 09:10:12 | using MySQL as database 2024/10/12 09:10:12 /build/model/main.go:79 [error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused [FATAL] 2024/10/12 - 09:10:12 | [dial tcp 172.29.0.5:3306: connect: connection refused] [SYS] 2024/10/12 - 09:10:15 | One API v0.6.6 started [SYS] 2024/10/12 - 09:10:15 | using MySQL as database 2024/10/12 09:10:15 /build/model/main.go:79 [error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused [FATAL] 2024/10/12 - 09:10:15 | [dial tcp 172.29.0.5:3306: connect: connection refused] [SYS] 2024/10/12 - 09:10:20 | One API v0.6.6 started [SYS] 2024/10/12 - 09:10:20 | using MySQL as database 2024/10/12 09:10:20 /build/model/main.go:79 [FATAL] 2024/10/12 - 09:10:20 | [dial tcp 172.29.0.5:3306: connect: connection refused] [error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused [SYS] 2024/10/12 - 09:10:28 | One API v0.6.6 started [SYS] 2024/10/12 - 09:10:28 | using MySQL as database 2024/10/12 09:10:28 /build/model/main.go:79 [error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused [FATAL] 2024/10/12 - 09:10:28 | [dial tcp 172.29.0.5:3306: connect: connection refused] [SYS] 2024/10/12 - 09:10:42 | One API v0.6.6 started [SYS] 2024/10/12 - 09:10:42 | using MySQL as database 2024/10/12 09:10:42 /build/model/main.go:79 [error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused [FATAL] 2024/10/12 - 09:10:42 | [dial tcp 172.29.0.5:3306: connect: connection refused] [SYS] 2024/10/12 - 09:11:09 | One API v0.6.6 started [SYS] 2024/10/12 - 09:11:09 | using MySQL as database 2024/10/12 09:11:09 /build/model/main.go:79 [error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused [FATAL] 2024/10/12 - 09:11:09 | [dial tcp 172.29.0.5:3306: connect: connection refused] [SYS] 2024/10/12 - 09:12:03 | One API v0.6.6 started [SYS] 2024/10/12 - 09:12:03 | using MySQL as database 2024/10/12 09:12:03 /build/model/main.go:79 [error] failed to initialize database, got error dial tcp 172.29.0.5:3306: connect: connection refused [FATAL] 2024/10/12 - 09:12:03 | [dial tcp 172.29.0.5:3306: connect: connection refused] [SYS] 2024/10/12 - 09:13:04 | One API v0.6.6 started [SYS] 2024/10/12 - 09:13:04 | using MySQL as database [SYS] 2024/10/12 - 09:13:04 | database migration started 2024/10/12 09:13:05 /build/model/main.go:113 SLOW SQL >= 200ms [1822.142ms] [rows:0] CREATE TABLE `channels` (`id` bigint AUTO_INCREMENT,`type` bigint DEFAULT 0,`key` text,`status` bigint DEFAULT 1,`name` varchar(191),`weight` bigint unsigned DEFAULT 0,`created_time` bigint,`test_time` bigint,`response_time` bigint,`base_url` varchar(191) DEFAULT '',`other` longtext,`balance` double,`balance_updated_time` bigint,`models` longtext,`group` varchar(32) DEFAULT 'default',`used_quota` bigint DEFAULT 0,`model_mapping` varchar(1024) DEFAULT '',`priority` bigint DEFAULT 0,`config` longtext,PRIMARY KEY (`id`),INDEX `idx_channels_name` (`name`)) 2024/10/12 09:13:06 /build/model/main.go:117 SLOW SQL >= 200ms [906.629ms] [rows:0] CREATE TABLE `tokens` (`id` bigint AUTO_INCREMENT,`user_id` bigint,`key` char(48),`status` bigint DEFAULT 1,`name` varchar(191),`created_time` bigint,`accessed_time` bigint,`expired_time` bigint DEFAULT -1,`remain_quota` bigint DEFAULT 0,`unlimited_quota` boolean DEFAULT false,`used_quota` bigint DEFAULT 0,`models` varchar(191) DEFAULT '',`subnet` varchar(191) DEFAULT '',PRIMARY KEY (`id`),UNIQUE INDEX `idx_tokens_key` (`key`),INDEX `idx_tokens_name` (`name`)) 2024/10/12 09:13:08 /build/model/main.go:121 SLOW SQL >= 200ms [2052.474ms] [rows:0] CREATE TABLE `users` (`id` bigint AUTO_INCREMENT,`username` varchar(191),`password` longtext NOT NULL,`display_name` varchar(191),`role` bigint DEFAULT 1,`status` bigint DEFAULT 1,`email` varchar(191),`github_id` varchar(191),`wechat_id` varchar(191),`lark_id` varchar(191),`access_token` char(32),`quota` bigint DEFAULT 0,`used_quota` bigint DEFAULT 0,`request_count` bigint DEFAULT 0,`group` varchar(32) DEFAULT 'default',`aff_code` varchar(32),`inviter_id` bigint,PRIMARY KEY (`id`),INDEX `idx_users_display_name` (`display_name`),INDEX `idx_users_email` (`email`),UNIQUE INDEX `idx_users_access_token` (`access_token`),INDEX `idx_users_inviter_id` (`inviter_id`),UNIQUE INDEX `idx_users_aff_code` (`aff_code`),INDEX `idx_users_username` (`username`),INDEX `idx_users_git_hub_id` (`github_id`),INDEX `idx_users_we_chat_id` (`wechat_id`),INDEX `idx_users_lark_id` (`lark_id`),CONSTRAINT `uni_users_username` UNIQUE (`username`)) 2024/10/12 09:13:09 /build/model/main.go:125 SLOW SQL >= 200ms [723.645ms] [rows:0] CREATE TABLE `options` (`key` varchar(191),`value` longtext,PRIMARY KEY (`key`)) 2024/10/12 09:13:10 /build/model/main.go:129 SLOW SQL >= 200ms [1249.361ms] [rows:0] CREATE TABLE `redemptions` (`id` bigint AUTO_INCREMENT,`user_id` bigint,`key` char(32),`status` bigint DEFAULT 1,`name` varchar(191),`quota` bigint DEFAULT 100,`created_time` bigint,`redeemed_time` bigint,PRIMARY KEY (`id`),UNIQUE INDEX `idx_redemptions_key` (`key`),INDEX `idx_redemptions_name` (`name`)) 2024/10/12 09:13:11 /build/model/main.go:133 SLOW SQL >= 200ms [999.919ms] [rows:0] CREATE TABLE `abilities` (`group` varchar(32),`model` varchar(191),`channel_id` bigint,`enabled` boolean,`priority` bigint DEFAULT 0,PRIMARY KEY (`group`,`model`,`channel_id`),INDEX `idx_abilities_channel_id` (`channel_id`),INDEX `idx_abilities_priority` (`priority`)) 2024/10/12 09:13:13 /build/model/main.go:137 SLOW SQL >= 200ms [1525.533ms] [rows:0] CREATE TABLE `logs` (`id` bigint AUTO_INCREMENT,`user_id` bigint,`created_at` bigint,`type` bigint,`content` longtext,`username` varchar(191) DEFAULT '',`token_name` varchar(191) DEFAULT '',`model_name` varchar(191) DEFAULT '',`quota` bigint DEFAULT 0,`prompt_tokens` bigint DEFAULT 0,`completion_tokens` bigint DEFAULT 0,`channel_id` bigint,PRIMARY KEY (`id`),INDEX `idx_logs_token_name` (`token_name`),INDEX `idx_logs_model_name` (`model_name`),INDEX `idx_logs_channel_id` (`channel_id`),INDEX `idx_logs_user_id` (`user_id`),INDEX `idx_created_at_type` (`created_at`,`type`),INDEX `index_username_model_name` (`model_name`,`username`)) [SYS] 2024/10/12 - 09:13:13 | database migrated 2024/10/12 09:13:13 /build/model/main.go:26 record not found [12.141ms] [rows:0] SELECT * FROM `users` ORDER BY `users`.`id` LIMIT 1 [SYS] 2024/10/12 - 09:13:13 | no user exists, creating a root user for you: username is root, password is 123456 [SYS] 2024/10/12 - 09:13:13 | creating initial root token as requested [SYS] 2024/10/12 - 09:13:13 | REDIS_CONN_STRING not set, Redis is not enabled [SYS] 2024/10/12 - 09:13:13 | using theme default [SYS] 2024/10/12 - 09:13:13 | memory cache enabled [SYS] 2024/10/12 - 09:13:13 | sync frequency: 600 seconds [SYS] 2024/10/12 - 09:13:13 | channels synced from database [SYS] 2024/10/12 - 09:13:13 | batch update enabled with interval 10s [SYS] 2024/10/12 - 09:13:13 | initializing token encoders [SYS] 2024/10/12 - 09:13:16 | token encoders initialized [SYS] 2024/10/12 - 09:13:23 | batch update started [SYS] 2024/10/12 - 09:13:23 | batch update finished [SYS] 2024/10/12 - 09:13:33 | batch update started [SYS] 2024/10/12 - 09:13:33 | batch update finished [SYS] 2024/10/12 - 09:13:43 | batch update started [SYS] 2024/10/12 - 09:13:43 | batch update finished [SYS] 2024/10/12 - 09:13:53 | batch update started [SYS] 2024/10/12 - 09:13:53 | batch update finished [SYS] 2024/10/12 - 09:14:03 | batch update started [SYS] 2024/10/12 - 09:14:03 | batch update finished [SYS] 2024/10/12 - 09:14:13 | batch update started [SYS] 2024/10/12 - 09:14:13 | batch update finished [SYS] 2024/10/12 - 09:14:23 | batch update started [SYS] 2024/10/12 - 09:14:23 | batch update finished [SYS] 2024/10/12 - 09:14:33 | batch update started [SYS] 2024/10/12 - 09:14:33 | batch update finished [SYS] 2024/10/12 - 09:14:43 | batch update started [SYS] 2024/10/12 - 09:14:43 | batch update finished [SYS] 2024/10/12 - 09:14:53 | batch update started [SYS] 2024/10/12 - 09:14:53 | batch update finished [SYS] 2024/10/12 - 09:15:03 | batch update started [SYS] 2024/10/12 - 09:15:03 | batch update finished [SYS] 2024/10/12 - 09:15:13 | batch update started [SYS] 2024/10/12 - 09:15:13 | batch update finished [SYS] 2024/10/12 - 09:15:23 | batch update started [SYS] 2024/10/12 - 09:15:23 | batch update finished [SYS] 2024/10/12 - 09:15:33 | batch update started [SYS] 2024/10/12 - 09:15:33 | batch update finished [SYS] 2024/10/12 - 09:15:43 | batch update started [SYS] 2024/10/12 - 09:15:43 | batch update finished [SYS] 2024/10/12 - 09:15:53 | batch update started [SYS] 2024/10/12 - 09:15:53 | batch update finished [SYS] 2024/10/12 - 09:16:03 | batch update started [SYS] 2024/10/12 - 09:16:03 | batch update finished [SYS] 2024/10/12 - 09:16:13 | batch update started [SYS] 2024/10/12 - 09:16:13 | batch update finished ```
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: HswOAuth/llm_course#182
No description provided.