Commit Graph

21 Commits

Author SHA1 Message Date
陈景阳
935b3e2c47 去掉select 语句的break关键字 2019-12-17 10:07:38 +08:00
hantmac
07ce8e25fd - 新增authGroup.DELETE("/tasks_by_status", routes.DeleteTaskByStatus) 支持批量删除指定状态的任务
- TaskListRequestData中增加Status字段,支持根据task状态进行筛选
2019-12-05 15:12:32 +08:00
暗音
bcf3978600 Merge branch 'develop' into develop 2019-10-28 11:06:13 +08:00
陈景阳
418d728825 修改日志获取问题 2019-10-17 17:54:19 +08:00
陈景阳
b56399451e fix 定时任务管理 2019-10-11 23:22:25 +08:00
yaziming
ee808e0e60 refactor(all): refactor code
remove redundant code and some code refactor
2019-10-11 16:01:57 +08:00
陈景阳
41556cab74 fix 删除爬虫的问题 2019-09-30 12:09:37 +08:00
陈景阳
000b4ff730 删除日志 2019-09-10 09:51:27 +08:00
陈景阳
cdeef4b4a5 重构msg的包 2019-09-10 09:32:48 +08:00
yaziming
e10d8fd996 refactor(backend): Use more efficient bytes to string methods and remove unnecessary type conversions
detail:
    1. add utils.BytesToString function instead of string() convert bytes to string.
    2. use bytes.NewReader instead of strings.NewReader(string(sb)).
    3. use w.Body.Bytes() instead of []byte(w.Body.String()).
2019-09-03 15:17:32 +08:00
陈景阳
eb92d34f9b Merge branch 'develop' of https://github.com/crawlab-team/crawlab into develop 2019-09-03 08:57:21 +08:00
陈景阳
f9fdf5b8d8 fix 打印日志只有2KB 2019-09-02 16:45:56 +08:00
yaziming
a9346a0934 backend:
1. Mongo dial add 5 seconds connection timeout.
 2. Redis uses connection pool mode.
 3. Redis pool new connection have 10 seconds write timeout and read timeout and connection timeout.
2019-09-01 17:18:08 +08:00
Jeremy
92c37a9e5c Merge branch 'develop' into master 2019-09-01 00:13:19 +08:00
hantmac
b766be577a bug fix:fix read log file oom 2019-09-01 00:06:26 +08:00
陈景阳
5e6aec2393 fix 无法获取日志的问题 2019-08-31 15:03:57 +08:00
陈景阳
57dddc84ed FIX #178
FIX 当日志文件小于2048的时候无法正常拉取日志的问题
2019-08-31 12:42:53 +08:00
hantmac
5720f3f277 Add delete log files periodically 2019-08-31 11:29:24 +08:00
hantmac
782e5694e6 bug fix: hot fix out of memory problem caused by log read 2019-08-30 18:01:22 +08:00
hantmac
1b29a27ab0 bug fix: hot fix out of memory problem caused by log read 2019-08-30 17:58:58 +08:00
Marvin Zhang
56c99b314f added golang 2019-07-22 12:51:52 +08:00