Skip to content

Commit

Permalink
Merge pull request #59 from res0nance/transient-semaphore
Browse files Browse the repository at this point in the history
[JENKINS-56770] Do not serialize semaphores
  • Loading branch information
cashlalala committed Oct 11, 2019
2 parents f431ad2 + d593c5e commit 83a8c0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>3.5</version>
<version>3.50</version>
</parent>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public class RemoteBuildConfiguration extends Builder implements SimpleBuildStep
private boolean abortTriggeredJob;
private boolean disabled;

private Map<String, Semaphore> hostLocks = new HashMap<>();
private transient Map<String, Semaphore> hostLocks = new HashMap<>();
private Map<String, Integer> hostPermits = new HashMap<>();

private static Logger logger = Logger.getLogger(RemoteBuildConfiguration.class.getName());
Expand Down

0 comments on commit 83a8c0a

Please sign in to comment.