<commit_before>%%%
%% Feature:
%% paras:
%% ex: ./erl_expect -sname ejabberd@ebs-ali-beijing-5-pri -setcookie secret $ERL_TOOL_PATH/restart_thrift_service.erl
%%
echo(off),
ejabberd_app:stop_thrift_service(),
ejabberd_app:start_thrift_service(),
ok.<commit_msg>add ejabberd restart thrift server<commit_after>%%%
%% Feature:
%% paras:
%% ex: ./erl_expect -sname ejabberd@ebs-ali-beijing-5-pri -setcookie secret $ERL_TOOL_PATH/restart_thrift_service.erl
%%
echo(off),
ejabberd_app:stop_thrift_service(),
ejabberd_app:start_thrift_service(),
io:format("user service thrift: ~p ~n", [whereis('user_service_thrift')]),
io:format("group service thrift: ~p ~n", [whereis('groupService_thrift')]),
ok.
{'fraction_non_alphanumeric': 0.1642651296829971, 'fraction_numerical': 0.002881844380403458, 'mean_word_length': 8.520547945205479, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6326417', 'n_tokens_mistral': 273, 'n_tokens_neox': 272, 'n_words': 43}