Commit Graph

52 Commits

Author SHA1 Message Date
gazebo
a66d69a265 - 特殊处理同步价格至平台出错,较大改动 2019-06-06 15:01:48 +08:00
gazebo
1a91ae1732 - tasksch任务在结束后释放jobList,避免被管理的任务不能释放内存 2019-05-25 08:45:50 +08:00
gazebo
e024203e2f - ExportOrders 2019-05-23 09:55:11 +08:00
gazebo
79542ae756 - MaxTaskNameLen = 50 2019-04-24 21:34:46 +08:00
gazebo
addd9e3ad9 - tasksch中,子任务结束发送结果时要获取lock 2019-04-17 13:32:20 +08:00
gazebo
36e117f313 - 修复tasksch中任务panic导致的BUG 2019-04-17 12:26:51 +08:00
gazebo
cb35d92feb - 一些同步的任务名添加关键信息 2019-04-16 09:42:36 +08:00
gazebo
660ff1e34c - 去掉ebai.GetAllRemoteSkus中一个冗长的调度输出
- BaseTask marshal时忽略Result
2019-04-11 15:49:41 +08:00
gazebo
834a1f2206 - up 2019-03-29 16:56:22 +08:00
gazebo
753ce06d0b - 异步任务消息格式 2019-03-22 18:44:24 +08:00
gazebo
180494ab70 - 改异步任务消息格式 2019-03-22 15:54:24 +08:00
gazebo
5b0861a4c0 - 改动异步任务完成消息通知内容 2019-03-22 15:50:11 +08:00
gazebo
9781e85e4d - up 2019-03-22 15:26:03 +08:00
gazebo
074d5e989e - fix bug in taskshc.HandleTask 2019-03-22 15:13:53 +08:00
gazebo
25ac631c5c - refactor jxcontent and tasksch (remove dependency from jxcontent to tasksch)
- send dingding msg to user when async task finished
2019-03-22 15:04:28 +08:00
gazebo
4a4bd4518b - fk 2019-03-13 16:11:37 +08:00
gazebo
887eeafa9f - createdBy params added for GetTasks 2019-03-06 11:15:18 +08:00
gazebo
0ba4068c92 - optimize PullJdOrder 2019-01-10 23:46:59 +08:00
gazebo
12a3b4265d - fix concurrent access of TaskMan 2019-01-02 17:37:38 +08:00
gazebo
e66a38b20b - reverse sort tasks. 2018-12-04 17:21:15 +08:00
gazebo
ceb66bc48a - tasksch error show taks name
- distinguish platform error
2018-12-03 16:19:51 +08:00
gazebo
dd6a4723d8 - TaskStatusName 2018-11-22 10:22:24 +08:00
gazebo
e8705b12ec - GetCreatedBy for ITask 2018-11-19 21:16:12 +08:00
gazebo
7a93cf745d - when IsContinueWhenError is true, if partial failed, mark the whole task as failed. 2018-10-27 18:00:02 +08:00
gazebo
0743df73b2 - revert default IsContinueWhenError to false. 2018-10-27 17:22:22 +08:00
gazebo
abd8326511 - avoid nil TaskError 2018-10-27 17:16:16 +08:00
gazebo
eac24b9a5a - SyncStoresCategory
- TaskError for json output.
2018-10-27 16:12:00 +08:00
gazebo
970e8dc7b2 - only clear sync status when SkuShopCategoryMap succeeded
- and DetailErrList for tasksch.
2018-10-27 10:22:25 +08:00
gazebo
0397729aa0 - fix bug in UpdateStore(GetRows) 2018-10-26 20:09:56 +08:00
gazebo
f12cfafe23 - avoid run task more than once. 2018-10-26 17:34:40 +08:00
gazebo
6c7b9afd10 - remove RunParallelTask
- refactor partner.SyncStoreCategory.
2018-10-26 13:38:35 +08:00
gazebo
ed4cdb6f2a - remove tasksch.TaskMan.Run*** funcs 2018-10-25 08:47:37 +08:00
gazebo
442b8c6db3 - fix bug in updateStoreSkusWithoutSync 2018-10-24 20:27:22 +08:00
gazebo
93a7202423 - RefreshAllStoresID
- RefreshAllSkusID
- use new tasksch when possible(not use run directly).
2018-10-23 16:34:42 +08:00
gazebo
c818c45a4d - optimize tasksch channel. 2018-10-21 17:09:08 +08:00
gazebo
0fb6fe27fe - close quitChan when Cancel for tasksch. 2018-10-21 13:47:53 +08:00
gazebo
0d5a5189ed - big refactor tasksch 2018-10-20 15:05:02 +08:00
gazebo
2bfa5fe17f - use utils.CallFuncAsync when possible. 2018-10-20 12:02:52 +08:00
gazebo
042d3b5616 - BaseTask.GetID 2018-10-20 10:49:32 +08:00
gazebo
1c74a43c1b - MarshalJSON added for BaseTask. 2018-10-20 10:08:57 +08:00
gazebo
c00336905a - ren tasksch.Task to ParallelTask. 2018-10-20 09:35:17 +08:00
gazebo
66ef068fc3 - refactor tasksch
- sequence task added.
- task tree added.
2018-10-20 09:22:36 +08:00
gazebo
68db928187 - rough sequence task added. 2018-10-19 18:34:31 +08:00
gazebo
9ad1e383f8 - fixed bug in calculate max parallelCount in tasksch.RunTask
- multi-task for stores in jd.SyncStoreSkus
- calculate platform price use platform price_percentage.
- GoodsOrder json StoreName.
2018-10-11 10:21:43 +08:00
gazebo
922e5175c7 - sync store category. 2018-10-08 15:33:13 +08:00
gazebo
b936d3354b - up. 2018-09-22 23:28:52 +08:00
gazebo
81089fb85c - category sync almost ok.
- refactor tasksch (isContinueWhenError)
2018-09-22 10:26:31 +08:00
gazebo
7295c16367 - miss use err: in SyncSku 2018-09-21 16:57:34 +08:00
gazebo
c8107677c4 - must receive all result in task.go 2018-09-21 15:42:39 +08:00
gazebo
4192e9c635 - don't check weixin exist after login in. 2018-09-21 15:35:02 +08:00