Skip to content

Commit

Permalink
Fix could not serialize access due to concurrent update
Browse files Browse the repository at this point in the history
  • Loading branch information
bifrurcated committed Jan 15, 2024
1 parent 6679271 commit a0dc71e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
import com.bifurcated.wallet.operation.OperationType;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.retry.annotation.EnableRetry;

import java.util.Collection;
import java.util.Map;
import java.util.function.Function;
import java.util.stream.Collectors;

@Configuration
@EnableRetry
public class BeanConfig {
@Bean
public Map<String, OperationType> operationTypeMap(Collection<OperationType> operationType) {
Expand Down

0 comments on commit a0dc71e

Please sign in to comment.