Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄成意
/
go_sku_server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c203ac6d
authored
Oct 13, 2020
by
huangchengyi
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1.0
parent
d62003c2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
cmd/cron/cron_server.go
conf/prod/redis.ini
cmd/cron/cron_server.go
View file @
c203ac6d
...
@@ -20,8 +20,6 @@ func main() {
...
@@ -20,8 +20,6 @@ func main() {
panic
(
err
)
panic
(
err
)
}
}
logger
.
Log
(
"dddd"
,
"3333"
,
1
)
ZyCronService
:=
service
.
ZyCronService
{}
ZyCronService
:=
service
.
ZyCronService
{}
ZyCronService
.
ZyDiscount
(
goods_id
)
ZyCronService
.
ZyDiscount
(
goods_id
)
}
}
conf/prod/redis.ini
View file @
c203ac6d
;redis连接信息
;redis连接信息
[default_redis_read]
[default_redis_read]
host
=
172.18.137.3
8
:6379
host
=
172.18.137.3
9
:6379
password
=
icDb29mLy2s
password
=
icDb29mLy2s
max_idle
=
500
max_idle
=
500
max_active
=
500
max_active
=
500
idle_timeout
=
20
idle_timeout
=
20
[default_redis_write]
[default_redis_write]
host
=
172.18.137.3
9
:6379
host
=
172.18.137.3
8
:6379
password
=
icDb29mLy2s
password
=
icDb29mLy2s
max_idle
=
500
max_idle
=
500
max_active
=
500
max_active
=
500
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment