Projects
openEuler:24.03:SP1:Everything:64G
metrics
_service:tar_scm:metrics-3.1.2-amqp-client35.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:metrics-3.1.2-amqp-client35.patch of Package metrics
diff -Nru metrics-3.1.2/metrics-graphite/src/main/java/com/codahale/metrics/graphite/GraphiteRabbitMQ.java metrics-3.1.2.amqp-client/metrics-graphite/src/main/java/com/codahale/metrics/graphite/GraphiteRabbitMQ.java --- metrics-3.1.2/metrics-graphite/src/main/java/com/codahale/metrics/graphite/GraphiteRabbitMQ.java 2015-04-26 05:55:19.000000000 +0200 +++ metrics-3.1.2.amqp-client/metrics-graphite/src/main/java/com/codahale/metrics/graphite/GraphiteRabbitMQ.java 2015-06-08 16:23:26.168774589 +0200 @@ -114,9 +114,11 @@ if (isConnected()) { throw new IllegalStateException("Already connected"); } - - connection = connectionFactory.newConnection(); - channel = connection.createChannel(); + try { + connection = connectionFactory.newConnection(); + channel = connection.createChannel(); + } catch (java.util.concurrent.TimeoutException t) { + } } @Override
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2