SlashDB error: 'ResultProxy' object has no attribute 'execution_options'

时间:2018-03-25 20:55:27

标签: rest slashdb

I have a SlashDB installation on top of MySQL. Once in a while, especially after a period of time of inactivity, the first call to an API returns:

'ResultProxy' object has no attribute 'execution_options'

The second request (same endpoint) would work normally.

My guess was that SlashDB's connection to MySQL had been terminated due to inactivity. I set the wait_timeout system variable (MySQL) to about 10 hours and it seems to help in some cases.

What does this error mean, and is there a way to prevent it?

1 个答案:

答案 0 :(得分:1)

在1.0版中应该不再出现这种情况,但是如果仍然有问题,请在问题中发布数据库模式的转储。