Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
railgun-routing-client
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Railgun
railgun-routing-client
Commits
e1e2eb06
Commit
e1e2eb06
authored
Nov 05, 2015
by
神楽坂玲奈
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hack
parent
45a42f53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
7 deletions
+14
-7
db.coffee
db.coffee
+14
-7
No files found.
db.coffee
View file @
e1e2eb06
...
@@ -47,11 +47,18 @@ module.exports =
...
@@ -47,11 +47,18 @@ module.exports =
for
row
in
result
.
rows
for
row
in
result
.
rows
regions
[
row
.
region_id
].
gateway
=
row
.
server_id
regions
[
row
.
region_id
].
gateway
=
row
.
server_id
servers
[
21
].
next_hop
=
20
# temp hack before railgun-network protocol
servers
[
22
].
next_hop
=
20
switch
server_id
servers
[
23
].
next_hop
=
20
when
2
,
8
regions
[
0
].
gateway
=
21
servers
[
21
].
next_hop
=
20
regions
[
1
].
gateway
=
23
servers
[
22
].
next_hop
=
20
servers
[
23
].
next_hop
=
20
regions
[
0
].
gateway
=
21
regions
[
1
].
gateway
=
23
when
1
,
9
servers
[
20
].
next_hop
=
8
servers
[
21
].
next_hop
=
8
servers
[
22
].
next_hop
=
8
servers
[
23
].
next_hop
=
8
done
()
done
()
callback
servers
,
regions
callback
servers
,
regions
\ No newline at end of file
神楽坂玲奈
@zh99998
mentioned in commit
ec4329ab
·
Dec 20, 2020
mentioned in commit
ec4329ab
mentioned in commit ec4329ab497c01dcc0215180e4a79fbe3519ecb4
Toggle commit list
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