-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: lastore模块逻辑修改 #394
base: release/beige
Are you sure you want to change the base?
feat: lastore模块逻辑修改 #394
Conversation
538f692
to
1953d35
Compare
lastore/agent.go
Outdated
"github.com/linuxdeepin/go-lib/dbusutil" | ||
) | ||
|
||
// lastore agent的interface name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
应该写到 sessionAgentInterface 上方
lastore/agent.go
Outdated
} | ||
|
||
func (a *Agent) init() { | ||
err := a.sysService.Export("/com/deepin/lastore/agent", a) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"/com/deepin/lastore/agent" 定义为常量
原有逻辑: lastore的通知都是dde-session-daemon去监听com.deepin.lastore.Job的状态,持续监听占用资源,而且交互不方便. 逻辑优化: lastore-daemon定义一套agent接口,由dde-daemon的lastore模块实现相关接口并导出,需要发通知和需要获取系统代理时,lastore-daemon调用agent接口完成. Log: lastore模块逻辑修改 Task: https://pms.uniontech.com/task-view-214983.html Influence: 通知和apt代理获取 Change-Id: I27df48576528a5932e7263f3945e156dda53dc3b
TAG Bot New tag: 6.0.30 |
TAG Bot New tag: 6.0.31 |
TAG Bot New tag: 6.0.32 |
TAG Bot New tag: 6.0.33 |
TAG Bot New tag: 6.0.34 |
TAG Bot New tag: 6.0.35 |
TAG Bot New tag: 6.0.36 |
TAG Bot New tag: 6.0.37 |
TAG Bot New tag: 6.0.38 |
TAG Bot New tag: 6.0.39 |
TAG Bot New tag: 6.0.40 |
TAG Bot New tag: 6.0.41 |
TAG Bot New tag: 6.0.42 |
TAG Bot New tag: 6.0.43 |
TAG Bot New tag: 6.0.44 |
TAG Bot New tag: 6.0.45 |
TAG Bot New tag: 6.0.46 |
原有逻辑: lastore的通知都是dde-session-daemon去监听com.deepin.lastore.Job的状态,持续监听占用资源,而且交互不方便. 逻辑优化: lastore-daemon定义一套agent接口,由dde-daemon的lastore模块实现相关接口并导出,需要发通知和需要获取系统代理时,lastore-daemon调用agent接口完成.
Log: lastore模块逻辑修改
Task: https://pms.uniontech.com/task-view-214983.html
Influence: 通知和apt代理获取
Change-Id: I27df48576528a5932e7263f3945e156dda53dc3b