diff --git a/hooks/pre-push.sh b/hooks/pre-push.sh index a0928db75ba..c1b51402872 100755 --- a/hooks/pre-push.sh +++ b/hooks/pre-push.sh @@ -14,4 +14,5 @@ # See the License for the specific language governing permissions and # limitations under the License. -mvn checkstyle:checkstyle --fail-at-end +# set thread count to 2 times of cores to speed up checking +mvn checkstyle:checkstyle -T 2C --fail-at-end