(c *Config)
| 88 | } |
| 89 | |
| 90 | func blockCacheTTLRequired(c *Config) (ttl int32) { |
| 91 | ttl = c.BlockCacheTTL |
| 92 | if ttl < 0 { |
| 93 | ttl = 0 |
| 94 | } |
| 95 | return |
| 96 | } |
| 97 | |
| 98 | // newRunTime returns a new sql-chain runtime instance with the specified config. |
| 99 | func newRunTime(ctx context.Context, c *Config) (r *runtime) { |
no outgoing calls