3 Commits
Author SHA1 Message Date
Tau 60d2f7cfd3 Fix working directory issues in startup batch file 2019-11-09 14:03:16 -05:00
Tau 0ac8b44ce0 idz/sql/teamMember.ts: Fix another ignored result set
That should cover all the leftover uses of forUpdate() ...
2019-11-09 14:00:24 -05:00
Tau 59fec74d08 Add Project DIVA workaround to startup script 2019-11-09 13:42:40 -05:00
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ export class SqlTeamMemberRepository implements TeamMemberRepository {
.where("id", teamId)
.forUpdate();
await this._txn.modify(lockSql);
await this._txn.fetchRow(lockSql);
// Double-check (with lock held) that there is room to join this team.
// If this fails then the error will propagate to the client and it will
+5 -1
View File
@@ -1,5 +1,7 @@
@echo off
pushd %~dp0
where /q node
if errorlevel 1 (
echo NodeJS does not appear to be installed.
@@ -40,8 +42,10 @@ if not exist node_modules (
echo.
)
rem Project Diva requires TLSv1.0
set DEBUG=app:*
node .\bin\index.js
node --tls-min-v1.0 .\bin\index.js
:end
echo.