Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
5c895bfb
Unverified
Commit
5c895bfb
authored
Sep 22, 2023
by
mergify[bot]
Committed by
GitHub
Sep 22, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into harry/pre_compute_addr
parents
4d827c39
7b2d0359
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
db.go
indexer/database/db.go
+4
-1
tag-service.py
ops/tag-service/tag-service.py
+1
-0
No files found.
indexer/database/db.go
View file @
5c895bfb
...
@@ -38,7 +38,10 @@ type DB struct {
...
@@ -38,7 +38,10 @@ type DB struct {
func
NewDB
(
dbConfig
config
.
DBConfig
)
(
*
DB
,
error
)
{
func
NewDB
(
dbConfig
config
.
DBConfig
)
(
*
DB
,
error
)
{
retryStrategy
:=
&
retry
.
ExponentialStrategy
{
Min
:
1000
,
Max
:
20
_000
,
MaxJitter
:
250
}
retryStrategy
:=
&
retry
.
ExponentialStrategy
{
Min
:
1000
,
Max
:
20
_000
,
MaxJitter
:
250
}
dsn
:=
fmt
.
Sprintf
(
"host=%s port=%d dbname=%s sslmode=disable"
,
dbConfig
.
Host
,
dbConfig
.
Port
,
dbConfig
.
Name
)
dsn
:=
fmt
.
Sprintf
(
"host=%s dbname=%s sslmode=disable"
,
dbConfig
.
Host
,
dbConfig
.
Name
)
if
dbConfig
.
Port
!=
0
{
dsn
+=
fmt
.
Sprintf
(
" port=%d"
,
dbConfig
.
Port
)
}
if
dbConfig
.
User
!=
""
{
if
dbConfig
.
User
!=
""
{
dsn
+=
fmt
.
Sprintf
(
" user=%s"
,
dbConfig
.
User
)
dsn
+=
fmt
.
Sprintf
(
" user=%s"
,
dbConfig
.
User
)
}
}
...
...
ops/tag-service/tag-service.py
View file @
5c895bfb
...
@@ -14,6 +14,7 @@ MIN_VERSIONS = {
...
@@ -14,6 +14,7 @@ MIN_VERSIONS = {
'indexer'
:
'0.5.0'
,
'indexer'
:
'0.5.0'
,
'op-node'
:
'0.10.14'
,
'op-node'
:
'0.10.14'
,
'op-batcher'
:
'0.10.14'
,
'op-batcher'
:
'0.10.14'
,
'op-challenger'
:
'0.0.4'
,
'op-proposer'
:
'0.10.14'
,
'op-proposer'
:
'0.10.14'
,
'op-ufm'
:
'0.1.0'
,
'op-ufm'
:
'0.1.0'
,
'proxyd'
:
'3.16.0'
'proxyd'
:
'3.16.0'
...
...
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