Skip to content

Commit

Permalink
update tests yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
prostgles committed Jun 4, 2024
1 parent 7aa76ef commit a3848b2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1,476 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

services:
postgres:
image: postgis/postgis:11-3.3
image: postgis/postgis:16-3.3
#image: postgres:10.8
env:
POSTGRES_USER: api
Expand Down
14 changes: 2 additions & 12 deletions tests/config_test/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@


/* Dashboard */
import path from 'path';
import express from 'express';

process.on('unhandledRejection', (reason, p) => {
Expand All @@ -13,18 +12,9 @@ const app = express();
app.use(express.json());
app.use(express.urlencoded({ extended: true }));
const _http = require("http");
const http = _http.createServer(app);
const io = require("socket.io")(http, {
path: "/teztz/s",
// maxHttpBufferSize: 1e8, // 100Mb
});
const http = _http.createServer(app);
http.listen(process.env.NPORT || 3000);

const log = (msg: string, extra?: any) => {
console.log(...["(server): " + msg, extra].filter(v => v));
}





// import WebSocket from 'ws';
Expand Down
Loading

0 comments on commit a3848b2

Please sign in to comment.