package com.gojek.beast.config;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.concurrent.TimeUnit;

@AllArgsConstructor
@Data
public class QueueConfig {
    private final long timeout;
    private final TimeUnit timeoutUnit = TimeUnit.MILLISECONDS;
    private String name;

    public QueueConfig(long timeout) {
        this.timeout = timeout;
    }
}
