Skip to content

Instantly share code, notes, and snippets.

View dmlloyd's full-sized avatar
🪐

David M. Lloyd dmlloyd

🪐
  • Red Hat, Inc.
  • Planet X
View GitHub Profile
@dmlloyd
dmlloyd / ExtFormatter.java
Last active December 25, 2015 07:09
How about this...
/*
* JBoss, Home of Professional Open Source.
* Copyright 2009, Red Hat Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
@dmlloyd
dmlloyd / undertow.xml
Last active December 15, 2015 10:29 — forked from ctomc/undertow
<subsystem xmlns="urn:jboss:domain:io:1.0">
<xnio-worker name="default" task-core-threads="12" io-threads="3"/>
<xnio-buffer-pool name="default" buffer-size="1024" buffers-per-slice="1024"/>
</subsystem>
<subsystem xmlns="urn:jboss:domain:undertow:1.0">
<server name="foo">
<http-listener name="default" socket-binding="http" worker="default" buffer-pool="default"/>
<ajp-listener name="ajp-connector" socket-binding="ajp"/>