Results 5 issues of pemako

optimize import & code style

问题描述: 场景是在大量的定时任务脚本中会初始化北极星实例,定时任务一般是在分钟级别完成。一天大概会有20W的量级,服务发布3天发现 CPU再持续增长。 分析: 通过 `pprof` 查看发现大部分时间耗费 `healthcheck` 中,对应的代码为值 https://github.com/polarismesh/polaris/blob/v1.17.5/service/healthcheck/check.go#L147 1. 避免对 `instance` 的遍历会降低 `CPU` 的使用 ```go func (c *CheckScheduler) processAdoptEvents( instances map[string]bool, add bool, checker plugin.HealthChecker) map[string]bool { instanceIds...

bug

### Provide the Bytebase version you are using 2.22.3 ### Describe the bug When add Doris instance "nvalid datasource ADMIN, error invalid connection" ### Steps to reproduce 1. use docker-compose.yml...

### Is your feature request related to a problem? Yes. When using the Export Center to export a large dataset (around 2 million rows, ~700MB file), Bytebase’s memory usage spikes...