Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proinfo-ws-novo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
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
simmctic
proinfo-ws-novo
Commits
2a2ce42b
Commit
2a2ce42b
authored
Oct 30, 2019
by
Lucas Fernandes de Oliveira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix id_point type and default port
Signed-off-by:
Lucas Fernandes de Oliveira
<
lfoliveira@inf.ufpr.br
>
parent
8887b882
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
queries/db-create.sql
queries/db-create.sql
+1
-1
server.js
server.js
+1
-1
No files found.
queries/db-create.sql
View file @
2a2ce42b
...
...
@@ -31,7 +31,7 @@ CREATE TABLE inventory (
CREATE
TABLE
net_usage
(
contact_date
DATE
,
id_point
INTEGER
,
id_point
TEXT
-- For some reason they want to use INEP as ID (which is a string)
,
macaddr
MACADDR
,
collect_date
DATE
,
collect_time
TIME
WITH
TIME
ZONE
...
...
server.js
View file @
2a2ce42b
...
...
@@ -76,7 +76,7 @@ catch (e) {
}
var
devMode
=
argv
.
dev
||
(
process
.
env
.
NODE_ENV
&&
(
process
.
env
.
NODE_ENV
.
slice
(
0
,
3
)
===
'
dev
'
));
var
port
=
parseInt
(
argv
.
port
||
argv
.
p
||
process
.
env
.
PORT
)
||
30
00
;
var
port
=
parseInt
(
argv
.
port
||
argv
.
p
||
process
.
env
.
PORT
)
||
49
00
;
var
numWorkers
=
parseInt
(
argv
[
'
num-workers
'
]
||
argv
.
n
)
||
(
os
.
cpus
().
length
*
2
);
var
daemon
=
argv
.
daemon
||
argv
.
d
||
false
;
var
pidfile
=
argv
[
'
pid-file
'
]
||
config
.
pid_file
||
process
.
env
.
PID_FILE
||
path
.
resolve
(
'
.
'
,
'
simmc.pid
'
);
...
...
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