<div><div>The process info is </div><div>```</div><div>process_info(pid(0, 818, 0)). </div><div>[{current_function,{gen,do_call,4}}, </div><div> {initial_call,{proc_lib,init_p,5}}, </div><div> {status,waiting}, </div><div> {message_queue_len,10}, </div><div> {messages,[1,2,3,3,4,5,6,7,8,9,10]}, </div><div> {links,[<0.514.0>,<0.1294.0>]}, </div><div> {dictionary,[{rand_seed,{#{bits => 58,jump => #Fun<rand.8.15449617>, </div><div> next => #Fun<rand.5.15449617>,type => exrop, </div><div> uniform => #Fun<rand.6.15449617>, </div><div> uniform_n => #Fun<rand.7.15449617>,weak_low_bits => 1},</div><div> [218965415455180470|167242355698640157]}}, </div><div> {'$initial_call',{time_server,init,1}}, </div><div> {'$ancestors',[time_sup,app_sup,<0.512.0>]}]},</div><div> {trap_exit,true},</div><div> {error_handler,error_handler},</div><div> {priority,normal},</div><div> {group_leader,<0.511.0>},</div><div> {total_heap_size,987},</div><div> {heap_size,987},</div><div> {stack_size,47},</div><div> {reductions,27674},</div><div> {garbage_collection,[{max_heap_size,#{error_logger => true,kill => true,size => 0}},</div><div> {min_bin_vheap_size,46422},</div><div> {min_heap_size,233},</div><div> {fullsweep_after,65535},</div><div> {minor_gcs,0}]},</div><div> {suspending,[]}]</div></div><div>```</div><div><br></div><div>and I look into the gen_statem.erl code, the gen:call/4 is running without timeout:</div><div>```</div><div><div>call_dirty(ServerRef, Request, Timeout, T) -> </div><div> try gen:call(ServerRef, '$gen_call', Request, T) of</div><div> {ok,Reply} -></div><div> Reply</div><div> catch</div><div> Class:Reason -></div><div> erlang:raise(</div><div> Class,</div><div> {Reason,{?MODULE,call,[ServerRef,Request,Timeout]}},</div><div> erlang:get_stacktrace())</div><div> end.</div></div><div>```</div><div><br></div><div>Is the code blocks my gen_statem process ? How can I disable it?</div><div><br></div><div><br></div><div><br></div>