Skip to content

Commit

Permalink
V1.2.9 (#31)
Browse files Browse the repository at this point in the history
* fix(ktor-server-kafka):
 - fixed consumer config class (vals->vars)
 - bumping to 1.2.8

* fix(workflows):
 - removed pr linter

* fix(task-scheduler):
 - made DefaultTaskLockTable public
  • Loading branch information
Flaxoos authored May 30, 2024
1 parent 0c005bd commit 0d6d647
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ public abstract class ExposedTaskLockTable(tableName: String) : Table(tableName)
public abstract val lockedAt: Column<Instant>
}

internal object DefaultTaskLockTable : ExposedTaskLockTable("task_locks") {
override val name = text("_name")
override val concurrencyIndex = integer("concurrency_index")
override val lockedAt = timestamp("locked_at").index()
public object DefaultTaskLockTable : ExposedTaskLockTable("task_locks") {
override val name: Column<String> = text("_name")
override val concurrencyIndex: Column<Int> = integer("concurrency_index")
override val lockedAt: Column<Instant> = timestamp("locked_at").index()

override val primaryKey: PrimaryKey = PrimaryKey(firstColumn = name, concurrencyIndex, name = "pk_task_locks")
}
Expand Down

0 comments on commit 0d6d647

Please sign in to comment.