Skip to content

Commit

Permalink
Update docker compose, ci/cd, copyright year, Dispatcher deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
Matěj Černý authored and jbwheatley committed Jul 16, 2023
1 parent ae3a461 commit d349211
Show file tree
Hide file tree
Showing 19 changed files with 30 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
jobs:
build:
name: Publish
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: "actions/[email protected]"
- name: java 11 setup
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2022 ProfunKtor
* Copyright 2017-2023 ProfunKtor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2022 ProfunKtor
* Copyright 2017-2023 ProfunKtor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ object RabbitClient {
saslConfig: SaslConfig = DefaultSaslConfig.PLAIN,
metricsCollector: Option[MetricsCollector] = None,
threadFactory: Option[F[ThreadFactory]] = None
): Resource[F, RabbitClient[F]] = Dispatcher[F].evalMap { dispatcher =>
): Resource[F, RabbitClient[F]] = Dispatcher.parallel[F](await = false).evalMap { dispatcher =>
apply[F](config, dispatcher, sslContext, saslConfig, metricsCollector, threadFactory)
}

Expand Down Expand Up @@ -126,7 +126,7 @@ object RabbitClient {
create[F](config, dispatcher, sslContext, saslConfig, metricsCollector, threadFactory, executionContext)

def resource: Resource[F, RabbitClient[F]] =
Dispatcher[F].evalMap(build)
Dispatcher.parallel[F](await = false).evalMap(build)
}

def default[F[_]: Async](
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2022 ProfunKtor
* Copyright 2017-2023 ProfunKtor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2022 ProfunKtor
* Copyright 2017-2023 ProfunKtor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2022 ProfunKtor
* Copyright 2017-2023 ProfunKtor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2022 ProfunKtor
* Copyright 2017-2023 ProfunKtor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
20 changes: 11 additions & 9 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
RabbitMQ:
restart: always
image: rabbitmq:alpine
ports:
- "5672:5672"
environment:
- DEBUG=false
volumes:
- ./rabbit-test-config/:/etc/rabbitmq/
version: '3'
services:
RabbitMQ:
restart: always
image: rabbitmq:alpine
ports:
- "5672:5672"
environment:
- DEBUG=false
volumes:
- ./rabbit-test-config/:/etc/rabbitmq/
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2022 ProfunKtor
* Copyright 2017-2023 ProfunKtor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2022 ProfunKtor
* Copyright 2017-2023 ProfunKtor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2022 ProfunKtor
* Copyright 2017-2023 ProfunKtor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2022 ProfunKtor
* Copyright 2017-2023 ProfunKtor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2022 ProfunKtor
* Copyright 2017-2023 ProfunKtor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2022 ProfunKtor
* Copyright 2017-2023 ProfunKtor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2022 ProfunKtor
* Copyright 2017-2023 ProfunKtor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2022 ProfunKtor
* Copyright 2017-2023 ProfunKtor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2022 ProfunKtor
* Copyright 2017-2023 ProfunKtor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2022 ProfunKtor
* Copyright 2017-2023 ProfunKtor
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down

0 comments on commit d349211

Please sign in to comment.