codex auto review
This commit is contained in:
parent
1c9ca4cfa2
commit
195ca7d961
|
|
@ -4,7 +4,6 @@ import com.mosenioring.common.Events
|
|||
import com.mosenioring.common.outbox.OutboxRepository
|
||||
import org.slf4j.LoggerFactory
|
||||
import org.springframework.amqp.rabbit.core.RabbitTemplate
|
||||
import org.springframework.beans.factory.annotation.Value
|
||||
import org.springframework.scheduling.annotation.Scheduled
|
||||
import org.springframework.stereotype.Component
|
||||
import org.springframework.transaction.annotation.Transactional
|
||||
|
|
@ -12,8 +11,7 @@ import org.springframework.transaction.annotation.Transactional
|
|||
@Component
|
||||
class OutboxPublisher(
|
||||
private val repository: OutboxRepository,
|
||||
private val rabbitTemplate: RabbitTemplate,
|
||||
@Value("\${app.outbox.publish-delay-ms:2000}") private val publishDelayMs: Long
|
||||
private val rabbitTemplate: RabbitTemplate
|
||||
) {
|
||||
private val logger = LoggerFactory.getLogger(javaClass)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +0,0 @@
|
|||
package com.mosenioring.common.web
|
||||
|
||||
data class PageResponse<T>(
|
||||
val items: List<T>,
|
||||
val page: Int,
|
||||
val size: Int,
|
||||
val total: Long
|
||||
)
|
||||
|
|
@ -1,5 +1,3 @@
|
|||
version: "3.9"
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16
|
||||
|
|
|
|||
Loading…
Reference in a new issue