Skip to content

Commit

Permalink
Merge pull request #119 from sotatek-dev/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Sotatek-TanHoang authored Oct 1, 2024
2 parents 0408ac9 + 5557e3c commit 8f04d70
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { MigrationInterface, QueryRunner } from 'typeorm';

export class AdjustConfigurationTable1727776349408 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`ALTER TABLE common_configuration
ALTER COLUMN tip TYPE NUMERIC(100, 4);`);
await queryRunner.query(`ALTER TABLE common_configuration
ALTER COLUMN daily_quota TYPE NUMERIC(100, 4);`);
}

public async down(queryRunner: QueryRunner): Promise<void> {}
}
2 changes: 1 addition & 1 deletion src/modules/crawler/crawler.console.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export class CrawlerConsole {
try {
while (true) {
await this.senderMinaBridge.handleUnlockMina();
await sleep(3);
await sleep(15);
}
} catch (error) {
this.logger.error(error);
Expand Down

0 comments on commit 8f04d70

Please sign in to comment.