mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
refactor: fix code and release workflow
This commit is contained in:
parent
8ab8622131
commit
b8906bd49b
2 changed files with 2 additions and 1 deletions
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
|
@ -141,6 +141,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Node and pnpm
|
||||
if: ${{ (inputs.target || 'dev') == 'dev' }}
|
||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
||||
|
||||
- name: Deploy database alteration
|
||||
|
|
|
@ -7,7 +7,7 @@ import Tenant from './Tenant.js';
|
|||
export class TenantPool {
|
||||
protected cache = new LRUCache<string, Promise<Tenant>>({
|
||||
max: EnvSet.values.tenantPoolSize,
|
||||
dispose: (tenant) => {
|
||||
dispose: async (entry) => {
|
||||
const tenant = await entry;
|
||||
void tenant.dispose();
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue