Commit Graph

21 Commits

Author SHA1 Message Date
陈景阳
232c299949 去掉select 语句的break关键字 2019-12-17 10:07:38 +08:00
hantmac
a74fd82b6a - 新增authGroup.DELETE("/tasks_by_status", routes.DeleteTaskByStatus) 支持批量删除指定状态的任务
- TaskListRequestData中增加Status字段,支持根据task状态进行筛选
2019-12-05 15:12:32 +08:00
暗音
3937cba64f Merge branch 'develop' into develop 2019-10-28 11:06:13 +08:00
陈景阳
06d659b77a 修改日志获取问题 2019-10-17 17:54:19 +08:00
陈景阳
04924b2f19 fix 定时任务管理 2019-10-11 23:22:25 +08:00
yaziming
2f6b517356 refactor(all): refactor code
remove redundant code and some code refactor
2019-10-11 16:01:57 +08:00
陈景阳
d80642aa0c fix 删除爬虫的问题 2019-09-30 12:09:37 +08:00
陈景阳
27f36cf91f 删除日志 2019-09-10 09:51:27 +08:00
陈景阳
9514a8a6af 重构msg的包 2019-09-10 09:32:48 +08:00
yaziming
888a3cab79 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
陈景阳
9e9b117669 Merge branch 'develop' of https://github.com/crawlab-team/crawlab into develop 2019-09-03 08:57:21 +08:00
陈景阳
64a8fab961 fix 打印日志只有2KB 2019-09-02 16:45:56 +08:00
yaziming
443d697c6f 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
0d6bd8fb0a Merge branch 'develop' into master 2019-09-01 00:13:19 +08:00
hantmac
7c0c490f1c bug fix:fix read log file oom 2019-09-01 00:06:26 +08:00
陈景阳
1877677844 fix 无法获取日志的问题 2019-08-31 15:03:57 +08:00
陈景阳
e43332b34f FIX #178
FIX 当日志文件小于2048的时候无法正常拉取日志的问题
2019-08-31 12:42:53 +08:00
hantmac
a9fc1951c8 Add delete log files periodically 2019-08-31 11:29:24 +08:00
hantmac
c481c66484 bug fix: hot fix out of memory problem caused by log read 2019-08-30 18:01:22 +08:00
hantmac
0512757166 bug fix: hot fix out of memory problem caused by log read 2019-08-30 17:58:58 +08:00
Marvin Zhang
53cebde962 added golang 2019-07-22 12:51:52 +08:00