Add thread count to pre-push hook to speed up checking (#11808)

* Add thread count to accelerate checking

* add comment
This commit is contained in:
Frank Chen 2021-11-22 21:33:01 +08:00 committed by GitHub
parent cfd60f1222
commit e77938b205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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